The Dink Network

Reply to Re: Little script question

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:
 
 
January 3rd 2003, 11:15 PM
spike.gif
It is possible, but you must do it like this:

void main(void)

{

move_stop(1, 8, 100, 1); (let's suppose the sprite's up there)

sp_brain(1,0);

sp_seq(1,108);

sp_pframe(1,1);

wait(150);

playsound(hitsound, whatever it is)

wait(500);

sp_brain(1,1);

move_stop(1, 2, 400, 1);

freeze(1);

}

This would work if you want Dink to hit the sprite, if something else you must change the seq Dink does. As far as I know, there's no own command to make Dink attack. (NOTE: Dink unfreezes after he has moved to the correct spot, if he hasn't brain 0 or something else than 1)