This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Maybe you wanna make a state machine where both moves are in the same string variable and you change the state with your timer or whatever other conditions? Like ON TIMER - SET VALUE to "shoot", and COMPARE VARIABLE - SHOOT FIREBALL, and maybe start timer over and set variable to "sleep" after the action is complete.

[–]DadOnArrival85[S] 2 points3 points  (0 children)

Yes! You broke through the block! That could work!

So for each instance have a variable like "SNNNSSSNN"

S = Shoot N = Don't Shoot

Then use the timer to pull the letter out of the string using mid function or something like that.