I want to randomly select a number between 1 to 3 and run an animation according to the result. I am using the function "choose", but something is not working.
<img src="http://dl.dropbox.com/u/72651057/example_choose.gif" border="0" />
Any help will be appreciated
It looks fine to me. What is not working, or rather what is happening?
My only thought is perhaps an animation is causing another collision in a frame or two.
Develop games in your browser. Powerful, performant & highly capable.
The first actions (set angle/set flipped/set mirrored) work very well. Nothing happens after the "choose" function. I include a text field to check if the variable number changes, but always shows "0".
That 2nd event is comparing carang1Stolen to choose(1,2,3), you need to set carang1Stolen to choose(1,2,3).
This is it.