Why can't "on Collision" have "Trigger Once While True" ?

Discussion and feedback on Construct 2

Post » Mon Apr 13, 2015 8:48 pm

I want to apply a "Trigger Once While True" to a "On Collision with Object" condition, why can't this be done ?
B
12
S
3
Posts: 288
Reputation: 1,694

Post » Mon Apr 13, 2015 8:49 pm

Because it already is :)
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099

Post » Mon Apr 13, 2015 8:59 pm

"On" conditions trigger once while true.
B
31
S
10
G
3
Posts: 310
Reputation: 6,046

Post » Tue Apr 14, 2015 11:17 am

"Trigger once" is a short name for "run if the event is true this tick but was false last tick". That only applies to normal evaluated events which are tested every tick. Triggers and events like 'On collision' aren't evaluated every tick, they just fire whenever something happens, so "trigger once" does not apply to them.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests