events

Get help using Construct 2

Post » Wed Jan 30, 2013 9:48 am

How do i...
When i mark one event with "trigger once" and when this event do what he should do, event are toogle disabled and when is toogle disabled do something else ?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Wed Jan 30, 2013 10:12 am

For example:

Variable = 1
Trigger once while true
.. Do stuff

'Do stuff' happens only once, instead on running every tick while Variable = 1. When Variable changes to anything else but 1, nothing happens, and when Variable becomes 1 again 'Do stuff' is again executed once.
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Wed Jan 30, 2013 1:15 pm

But i want to make 500 events i cant create 500 variables for each ;/delgado2013-01-30 13:20:46
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Wed Jan 30, 2013 1:25 pm

What are you trying to do then? I guess I misunderstood your question as I was just trying to describe how 'trigger once while true' trigger works. You can use 'trigger once while true' with any conditions that would otherwise run each tick or loop, they don't have to be variables :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,192


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests