(... AND ...) OR ... logic blocks?

Get help using Construct 2

Post » Sat Jun 11, 2016 6:59 am

Just a quick question:

In pseudocode, I want to achieve an arrangement of logic like this:

IF (blah AND blahblah) OR blahblahblah THEN
...
ENDIF

I know how to achieve the IF... ENDIF statements, although I couldn't really find a way to arrange the [(... AND ...) OR ...] blocks. How should I do it? Thanks in advance! :D
B
21
S
6
Posts: 33
Reputation: 1,340

Post » Sat Jun 11, 2016 2:11 pm

here Image
Image
B
28
S
11
G
2
Posts: 139
Reputation: 3,299

Post » Sat Jun 11, 2016 3:39 pm

Fidasx wrote:here Image

I think he meant how to do for example: if (hp = 0 & invulnerable = false) OR dead = true;

This works
Image
B
19
S
7
G
3
Posts: 28
Reputation: 2,438


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky and 4 guests