Is there a way to go to the next animation within an object?

Get help using Construct 2

Post » Tue May 26, 2015 4:32 am

I have an object with multiple animations. Is there a way to go to the next animation without knowing which animation I am on and without stating the name of the animation?
B
59
S
19
G
3
Posts: 451
Reputation: 6,339

Post » Tue May 26, 2015 6:28 am

If you have them named such as anim1, anim2, anim3 etc, then you could retrieve the current animation, remove the last digit, increment (or loop to first if at end), then re-add to end of animation name. Not pretty, but should work.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,498
Reputation: 60,282

Post » Fri May 29, 2015 2:52 am

Great! Thanks!
B
59
S
19
G
3
Posts: 451
Reputation: 6,339


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 10 guests