I've been trying to fix this for almost an hour now.
<img src="http://stevemazzaro.com/instancevariable.png" border="0" />
As you see in the picture, I'm trying to make the enemy stop the "ChasePlayer" function when the BadGuy instance variable "Frozen" is set to false.
The weird thing is, if I revert the X Frozen to "BadGuy is Frozen", it works (just the opposite of what I want and still affects all BadGuy instances).
Is this a bug, or am I missing something?
I've also used a global variable to test it, and the global variable worked (but stops every BadGuy instead of the one that it hit). On top of that, I've created a text box to see if the collision is changing the instance variable, and it IS changing, but the target is still chasing the player regardless.
Any help would be greatly appreciated.
Thanks!
Steve