On several animations finished-Can i do it

Just started using Construct 2? Post your questions here

Post » Thu Dec 03, 2015 7:16 pm

So i have a lot of different animations, but when any one of them ends i want to trigger a certain event.
I could do an event for every animation but it seems sloppy and like a bad solution in general.
I cant use "on any animation finished" because i need certain animations to end.

Thanks in advance.
B
7
S
2
Posts: 102
Reputation: 975

Post » Thu Dec 03, 2015 7:48 pm

you can make "Or block"
Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Fri Dec 04, 2015 11:01 am

not tested

how about adding a boolean flag to the sprite so when you start one of the animations you are interested in you could set this then

on any animation finished
AND
flag set
THEN
do something
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest