Reply to Re: Can this be done?
If you don't have an account, just leave the password field blank.
cypry i did that exact same thing in a script i wrote except i put a wait command in there. that way if something like appears at the same time as the guy dies IE you hit the guy and he dies but hitting him creates another monster a lag between the monster creating and the die script running wont keep another monster alive and also if it messes up into an infinite loop it wont crash
but here is mine it gives a little fancier visual effect
int &ass;
int &ass1;
int &ass2;
int &blow;
redo:
int &ass = get_sprite_with_this_brain(9,0);
if (&ass != 0)
{
&ass1 = sp_x(&ass,-1);
&ass2 = sp_y(&ass,-1);
sp_active(&ass,0);
&blow = create_sprite(&ass1,&ass2,7,167,1);
sp_seq(&blow,167);
wait(30);
goto redo;
}
but here is mine it gives a little fancier visual effect
int &ass;
int &ass1;
int &ass2;
int &blow;
redo:
int &ass = get_sprite_with_this_brain(9,0);
if (&ass != 0)
{
&ass1 = sp_x(&ass,-1);
&ass2 = sp_y(&ass,-1);
sp_active(&ass,0);
&blow = create_sprite(&ass1,&ass2,7,167,1);
sp_seq(&blow,167);
wait(30);
goto redo;
}






