How do I delay the destruction of an animated object?

Get help using Construct 2

Post » Thu Apr 17, 2014 10:40 pm

Hello all, yeah, like the topic title says, I'm just wondering... How do I delay the destruction of an animated object?

For instance, when my "Character" collides with the "spellBook", which is spawned from the "friendlyghost" when the "Character" collides with it (friendlyghost), it (the spellBook) instantly disappear before even having the chance to fall to the ground and animate. So, again, how would I go about delaying the destruction of the "spellBook" when it collides with the "Character"?

Image

Thanks a ton,
guannstar (FNORD)
B
28
S
5
G
1
Posts: 594
Reputation: 3,286

Post » Fri Apr 18, 2014 12:54 am

Your basically there but I don't see the purpose of the highlight area. Check when the animation is finished and touching the ground to activate the destruction of it. And if the book animation isn't set to loop you can check for when it has stopped or check when its 'not falling' anymore destroy it then. Cause I see you set angle so I assume you have 'platform behavior' attached to it?
You do not have the required permissions to view the files attached to this post.
B
23
S
4
G
2
Posts: 364
Reputation: 2,392

Post » Fri Apr 18, 2014 2:30 am

@PhoenixNightly, thanks a lot. I listened to what you said and it works now!:)
B
28
S
5
G
1
Posts: 594
Reputation: 3,286


Return to How do I....?

Who is online

Users browsing this forum: jaytrott86 and 8 guests