Or gates?

Get help using Construct 2

Post » Tue Nov 26, 2013 7:08 pm

I have 3 conditions for one action, but I want any of the 3 to cause the action. Is there an or condition anywhere, and what about xor?
B
4
Posts: 12
Reputation: 249

Post » Tue Nov 26, 2013 7:17 pm

Right-click just below the event, where the condition goes, and choose Make 'Or' block.

For XOR you can use sub events i.e.
when A = true
- if B = true > do nothing
- else if B = false > run event

when B = true
- if A = true > do nothing
- else if A = false > run event

plinkie2013-11-26 21:14:30
B
47
S
18
G
84
Posts: 2,261
Reputation: 49,776

Post » Tue Nov 26, 2013 7:57 pm

xor is this one, no?:

A true AND B true: do nothing
Else A true: do something
Else B true: do the same something
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Lancifer, max2612 and 7 guests