"or" logic in event

Get help using Construct 2

Post » Fri Feb 17, 2012 9:31 am

Hello, iv'e been looking around but can't seem to grasp how to add "or" logic in the events. I want to do the following:

System -> globalvariable1 = X OR globalvariable2 = y -> Run actions!

anyone have an idea how to do this?




ps. I already figured out how to do "and" in event...
B
13
S
2
G
3
Posts: 43
Reputation: 3,041

Post » Fri Feb 17, 2012 9:41 am

Extract from the How do I FAQ
[quote]Explanation about the logical "IF", "ELSE IF", "OR"... - LINK[/quote]

It's also probably a good idea to check how events work and follow the beginner's guide to C2.Kyatric2012-02-17 09:44:00
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Feb 17, 2012 9:57 am

Thx i already read trough those, didn't understand the ""IF", "ELSE IF", "OR"... - LINK" until I read it trough again. I thought that I have to find the yellow background text "if or" etc as in the example in the link, my bad!
B
13
S
2
G
3
Posts: 43
Reputation: 3,041

Post » Fri Feb 17, 2012 10:00 am

The yellow stuff are comments.
Just notes for the programmers' eyes, they have no effect on the code/project itself.Kyatric2012-02-17 10:00:29
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Feb 17, 2012 10:04 am

[QUOTE=Kyatric] The yellow stuff are comments.
Just notes for the programmers' eyes, they have no effect on the code/project itself.[/QUOTE]

I have realised that now, thx for reply :)
B
13
S
2
G
3
Posts: 43
Reputation: 3,041


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests