How do I make a simple sequence 1,2,3 and then loops back?

Get help using Construct 2

Post » Fri Feb 20, 2015 5:03 pm

As said in the title I need to make a sequence that will make my global variable go from 1 to 2 to 3 and then loop back to 1 at a specific timer interval. There is no info online on such an easy sequence and I am totally stuck.

Thank you
B
6
Posts: 24
Reputation: 302

Post » Fri Feb 20, 2015 6:31 pm

Every x seconds set variable to (variable % 3) + 1.
B
55
S
28
G
18
Posts: 1,520
Reputation: 25,285

Post » Fri Feb 20, 2015 7:04 pm

Thank you soo much :))
B
6
Posts: 24
Reputation: 302


Return to How do I....?

Who is online

Users browsing this forum: Boxels, lamar, qroft, Selimovich and 9 guests