Make "Nested Conditions"

Get help using Construct 2

Post » Fri Feb 24, 2012 3:42 am

How do I make "Nested Conditions"?
EX:
System>player = win..... actions "ta da!"
System>player = loose.... (this is where i need to compare a global for difficulty level so the game knows how to proceed)

ie: Easy: player looses a life, starts over at check point.
    Medium: player looses a life, starts over at beginning of level.
    Hard: player looses the game, return to title screen.

Of course these are harsh examples, but you get my meaning.

So is there a way to have the system check a global, then check another in the same event?

Thanks. And hello, first time poster, long time gamer. :)
B
12
S
2
Posts: 75
Reputation: 2,126

Post » Fri Feb 24, 2012 4:40 am

EDIT: I may have answered my own question with "Sub Events" it looks like they are what I was looking for. But any input would be helpful.
B
12
S
2
Posts: 75
Reputation: 2,126

Post » Fri Feb 24, 2012 5:40 am

Correct, you can place those comparisons as sub events, or place them in the same condition if you want to carry over a logical "and".
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Mon Feb 27, 2012 3:52 pm

Thanks a ton Newt!
B
12
S
2
Posts: 75
Reputation: 2,126


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests