Oh, even COOLER! Local variables!
GHILLI you need to understand what your script actually does
if (state == 1) action();
if (state == 2) anotherAction();
"state" is actually a variable. In fact, given we now have local variables... state is actually a retro thing that older scripters use. But it is a variable none the less.
When reading your script, you should recognize that any change or reassignment of said variable will cause a condition to fail thus forth
:state=0,timergreater=5000:state=1
:state=0,timergreater=5000:state=2
if (state == 0) {
if (timer > 5000) {
state = 1;
}
}
// state is now equal to 1
if (state == 0) {
if (timer > 5000) {
state = 2;
}
}
//condition is false because state != 0
Its not who you are or what you've done... its WHY you did it and how far you are willing to go.
If you fear speaking for yourself, make use the words of others while discovering your own voice.