Reply to Re: blackness
If you don't have an account, just leave the password field blank.
The problem is that the sprite and the script die quickly when void die(void) has been initiated.. at least something along those lines so you can't use that script to execute code with delay or cutscenes. What you need to do, is to spawn the script or create a new sprite with a script attached. Here's what I currently use in one of my scripts:
//in void die(void)
int &temp = create_sprite(-50, -50, 0, 71, 1);
sp_script(&temp, "en-tr22d");
Basically it creates a new sprite with a script attached. The script attacked then looks like:
void main(void)
{
//code
kill_this_task();
}
But, you can also spawn(); the script.
//in void die(void)
int &temp = create_sprite(-50, -50, 0, 71, 1);
sp_script(&temp, "en-tr22d");
Basically it creates a new sprite with a script attached. The script attacked then looks like:
void main(void)
{
//code
kill_this_task();
}
But, you can also spawn(); the script.