Check if animation stopped (interrupted)

Get help using Construct 2

Post » Sat Mar 02, 2013 8:28 pm

Is there a way to check if an animation has stopped but not necessarily finished?

I'm looking for a way to check for when a specific animation has stopped even if it's interrupted which doesn't seem to trigger the "on animation finished" event.

Thanks in advanced.
B
12
S
3
G
3
Posts: 36
Reputation: 3,048

Post » Tue Mar 05, 2013 2:40 am

Anyone?
B
12
S
3
G
3
Posts: 36
Reputation: 3,048

Post » Tue Mar 05, 2013 4:38 am

What would interrupt the animation? Whatever is doing that, you could at the same time set a variable to e.g. Animation_finished = 1 then test that variable.
B
7
Posts: 38
Reputation: 476

Post » Tue Mar 05, 2013 6:04 am

Without knowing the details, you should be able to check if that animation is playing before interrupting it with another, and if it was playing you do the same On Finished stuff.
B
6
S
1
Posts: 67
Reputation: 986

Post » Sat Apr 20, 2013 7:35 pm

Sorry for the late reply. I forgot I posted this. I was thinking in case some other animation was triggered and interrupts the current animation but I couldn't necessarily predict what animation interrupted it.MakubeX2013-04-20 19:37:03
B
12
S
3
G
3
Posts: 36
Reputation: 3,048


Return to How do I....?

Who is online

Users browsing this forum: jul, nicklowkcmagic, Yahoo [Bot] and 15 guests