How do I use this trigger?

Get help using Construct 2

Post » Tue Jun 10, 2014 10:35 am

Hi,

I've got a trigger "On animation finished" combined with another condition "Bullet distance travelled". I want to destroy the effect when both conditions are true.

What happens when the first condition is true (on animation finished), but the second condition is not true (bullet distance travelled) ? Will both conditions be true the next time the effect travels 200 px? Or will the trigger only fire once?

Is it wrong to combine a trigger with another condition?
You do not have the required permissions to view the files attached to this post.
B
15
S
3
Posts: 13
Reputation: 1,082

Post » Tue Jun 10, 2014 12:10 pm

The trigger will only be true at the moment the animation finished, not after that.

One thing you can do in your case, is having an instance boolean that you are switching to true when the animation is ending. Then use this boolean.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Tue Jun 10, 2014 12:47 pm

@Aphrodite A simple but great solution :) Thanks!
B
15
S
3
Posts: 13
Reputation: 1,082


Return to How do I....?

Who is online

Users browsing this forum: leena222, tatogame and 20 guests