The Dink Network

Reply to Re: Scripting Help

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:
 
 
May 11th 2007, 02:12 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
So my first help of scripting is how can i make Dink invisible cause i made a Dink sprite as a intro but there are two of them

If you want Dink in the intro just make it Dink! Start off your script with 'freeze(1);' Then put stuff like
'move_stop(1, #, #, #);' So it moves Dink. It saves alot of trouble. I would recommend this. Or if you still wanna do what you were gonna do, do 'sp_nodraw(1, 1);' to make Dink invisible I think. It means it won't draw (nodraw) the sprite. Whether it is 1 (Dink) &current_sprite, or the name of another sprite, it doesn't matter.

And how can i fix the problem with showing graphic cause i made a message on Paint and it won't show?

In the 'DINK.INI' anywhere, (Down the bottom where it has the message is recommended) since it is a message and not an animation, put 'load_sequence_now graphics/directory/mess-01 NOTANIM' Or 'load_sequence graphics/directory/mess-01 900 NOTANIM' Doesn't matter.

I'll explain it now. Let's say you made a new folder in your GRAPHICS directory of your Dmod and called it MESSAGE. Then you make the BMP and we'll say you called is mess-01. If you had more than one graphic you would make them mess-02, mess-03, all the way to mess-50. You may be able to go higher but I don't know. I don't think you'd have that many graphics in one folder though. Anyway with that settled, in the 'DINK.INI' you would put either 'load_sequence_now' or 'load_sequence' I usually do 'load_sequence_now' I don't think it really matters. Anyway, after that you put the directory. In this case it would be 'graphics/message' Now we put the name of the file. We skip the # because doing what we do adds all the graphics in the folder with mess-#. We go 'mess- ' Finally, we put how we load it. You know, the sequence, frames and all that. But if you aren't doing an animation you only need to put NOTANIM instead of all the other crap. Anyway, you then put '900 NOTANIM' Or if you don't want the sequence to go in sequence 900 in the editor you change the 900 to something else.