The Dink Network

Reply to Re: my first d-mod

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 7th 2007, 08:36 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
0: Use DinkC.chm. It would have helped you with all of these questions, and solve 3 or 4 of them.
1: screenlock(1) and screenlock(0)
2: Add a MIDI number to a screen's property or use playmidi("MIDIfile.mid").
3: This one is a bit more difficult, you'll have to compare the X and Y positions of the enemy with the X and Y positions of Dink, and set the enemies to attack Dink if the difference between those is lower than some value (like 100 pixels). I'm rusty when it comes to Dink, so I can't really tell you more about it than this (but check DinkC.chm for enemies' functions!!).
4: add_item("scriptfile", sequence, frame) where sequence and frame are the sequence and frame to use for the item.
5: Once again, I'm a bit rusty. Use DinkC.chm for reference.

And if you can't find DinkC.chm... Well, it's right there in the develop folder, with this nice big yellow question mark icon.