imageshack.us/photo/my-images/831/characterrandom.jpg
Have a character that will be performing animations (attacks) at random.
Each animation is linked to a number in a global variable.
Once each animation is finished
"System - set"global variable" to floor(random(1, 7))
With this working, it should create an endless loop of the character pulling off animations without pause.
My problem is he is pausing randomly and I don't understand how/why.
Would it possibly be because of the line "floor(random(1, 7))"?
Are there better alternatives?
Or maybe at the core could my way of doing this be changed? (see image)
Thanks guys