I have a little frustrating problem. I have a character (baby01) that has 3 animation states, idle, sad and happy. Each state plays through a random selection of animations.
My issue is that when I compare the value of one of my boolean(0/1 text) states the actions do not happen. I've tried using local and global variables, moving the compare to different parts of the 'for each' loop but nothing helps.
Below is the code I have created, as you can see my globals are at the top, at the moment I am setting baby_happy to 1 manually just to test, then in the code I say if baby_happy is equal to 1 play the animations.
(everything works if I remove the compare variable check but I need it to change animation states.
Any idea what I am doing wrong here?
<img src="https://dl.dropbox.com/u/3796932/global_Check.jpg" border="0" />