Reply to Re: how do i make the scrip to show just one time
If you don't have an account, just leave the password field blank.
I prefer to do the following. This saves you from using a global variable.
I've been away from scripting for a bit so excuse me if the syntax is a bit wrong.
void main(void)
//get the "state" of this sprite. It can be an invisible sprite. You
int &state = editor_seq(¤t_sprite, -1);
if(&state == 0)
{
//do stuff
...
//set the "state" to something other than 0
editor_seq(¤t_sprite, 1);
}
}
I've been away from scripting for a bit so excuse me if the syntax is a bit wrong.
void main(void)
//get the "state" of this sprite. It can be an invisible sprite. You
int &state = editor_seq(¤t_sprite, -1);
if(&state == 0)
{
//do stuff
...
//set the "state" to something other than 0
editor_seq(¤t_sprite, 1);
}
}