Just when you think it is safe to go back into the water!
GARY_P = 0 is a global variable
I have this which is the only place the variables changes.
(if(Said('[talk<to]/gary'))
(if(< (send gEgo:distanceTo(garyMan)) 65)
(if(== GARY_P 1)
= state 17
= cycles 1
)(else
= GARY_P 1
= state 0
= cycles 1
)
)(else Print("Don't yell at Gary,"))
)
when I talk to gary it goes to state 0 just fine but if I talk to him again it does not change state at all it does nothing, I need to get to sate 17 and beyond. here are my states.
...
(switch (state)
(case 0 (if(not(TALK_TO))return))
(case 1
ProgramControl()
...
return)
(case 17(if(== GARY_P 0))return)
(case 18
ProgramControl()
...
Can someone please please please

help?
