Reply to the death of a script.
If you don't have an account, just leave the password field blank.
June 9th 2003, 02:20 AM

bdjnk


the following script should kill it's sprite and itself in the process, forever.
void main( void )
{
Freeze(1);
say_stop("`7bla bla", 1);
unfreeze(1);
int &die = sp_editor_num(¤t_sprite);
editor_type(&die, 1);
}
but it doesn't (I have tried about six other ways as well, with no luck). every time I enter the screen the sprite with the script are up and running. any ideas what I am doing wrong? how should I permanently kill this sprite?
void main( void )
{
Freeze(1);
say_stop("`7bla bla", 1);
unfreeze(1);
int &die = sp_editor_num(¤t_sprite);
editor_type(&die, 1);
}
but it doesn't (I have tried about six other ways as well, with no luck). every time I enter the screen the sprite with the script are up and running. any ideas what I am doing wrong? how should I permanently kill this sprite?