The Dink Network

Reply to Re: Help! (I know i am a noobie idiot)

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 17th 2003, 12:42 PM
old.gif
: I have a problem...so when Dink enters in the next screen there happens and animation but whn he re-enters the screen than its allfrom the beginning.

: (i have tested sp_active(&current_sprite, 0); and kill_this_task(); and it doesnt work)

: --Kory

thats because the sprite is loaded again, to stop the animation use a var checker, like

&story, if &story is currently 2

then use the following script lines in the animations script.

void main(void)

{

if (&story < 3);

{

&story = 3;

goto skip;

}

if (&story == 3);

{

sp_nodraw(&current_sprite, 1);

sp_kill(&current_sprite, 0);

}

skip:

put all enemy data here

}