Reply to Re: my first d-mod
If you don't have an account, just leave the password field blank.
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.
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.






