Reply to Re: Little script question
If you don't have an account, just leave the password field blank.
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)
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)