Reply to Re: Help! (I know i am a noobie idiot)
If you don't have an account, just leave the password field blank.
: 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
}
: (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
}