How do I use the OR operator in "pick by comparison"

Get help using Construct 2

Post » Sat Apr 25, 2015 10:37 am

Hello guys,

how do I use the OR operator | in pick by comparison.

I don't understand why this doesn't work:
Image

please note that this works:
Image
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: 787
Reputation: 3,786

Post » Sat Apr 25, 2015 11:11 am

That's a logical OR which is used for maths (binary).

You'd need to do seperate conditions for "save" and "load" and make it an OR block (right click the event and select MAKE OR BLOCK or similar.. can't recall)

Pick hudbuttons where hudbuttons.id = "save"
OR
Pick hudbuttons where hudbuttons.id = "load"
B
15
S
5
G
7
Posts: 876
Reputation: 5,650


Return to How do I....?

Who is online

Users browsing this forum: DharmaOne, ezgaming420, JaredX and 13 guests