Reply to Re: Screenlocking/Story
If you don't have an account, just leave the password field blank.
This script will make dink say Goodbye the first time and both hello and goodbye the second time he interacts with the sprite:
This however will say nothing the first time and both the second
So, as I said, the bracklets are needed if you want to include more then one line in the 'if'.
@Skorn: We are all still learning stuff, but sometimes it's better to learn yourself, the problem with asking for help is that you might just copy the new script and paste it in your own without bothering to figure out what you did wrong. That way you learn nothing.
void main(void) { int &blah = 0; } void talk(void) { freeze(1); if(&blah == 1) say_stop("Hello", 1); say_stop("Goodbye ", 1); &blah = 1; unfreeze(1); }
This however will say nothing the first time and both the second
void main(void) { int &blah = 0; } void talk(void) { freeze(1); if(&blah == 1) { say_stop("Hello", 1); say_stop("Goodbye ", 1); } &blah = 1; unfreeze(1); }
So, as I said, the bracklets are needed if you want to include more then one line in the 'if'.
@Skorn: We are all still learning stuff, but sometimes it's better to learn yourself, the problem with asking for help is that you might just copy the new script and paste it in your own without bothering to figure out what you did wrong. That way you learn nothing.