How can I make construct skip an event after "using" it once

Get help using Construct 2

Post » Fri Sep 12, 2014 1:50 pm

How can I make construct skip an event after "using" it once?
I can very simply do this by setting a bool-like variable but construct still has to check the conditions every tick, is there an option to make the event an "one time event" - such event would when it is triggered once be automatically skipped every other tick, is this possible?
B
2
Posts: 2
Reputation: 154

Post » Fri Sep 12, 2014 1:52 pm

System > Trigger once while true. This is what you want i guess.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Fri Sep 12, 2014 2:26 pm

The on start of layout event is only checked once, but if you'd like events at other times to not even be read by construct, putting them inside a group in the event sheet and de-activting that group would do the trick..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Sep 12, 2014 3:03 pm

Or if you have a couple of duplicates of an object and you only want to trigger something once for each single object (and also creating new objects during runtime). Easiest would be to add a boolean variable to the object and change the value while you trigger that specific action (+ having a check on the status of that variable in the condition).

You see, there are hundrets of possible solutions. If you tell us more about what your goal is, we might be able to help you better with an appropriate solution.
B
44
S
10
G
8
Posts: 437
Reputation: 6,463


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 31 guests