how do I combine conditions?

Get help using Construct 2

Post » Fri Jan 31, 2014 10:11 pm

I want a spriteB to appear only if BOTH of 2 conditions have been met:
The 1st condition is that spriteA is on screen.
The 2nd condition is that the player's score is equal to or higher than X.

I've done tests with the conditions individually & they work fine on their own....but I don't know how to combine them into an "if this is true AND that is true then this happens" rule.

So how do I set a requirement that an action won't occur until multiple conditions have been met? thanks in advance
Phase 1: Collect Underpants.
Phase 2: ????
Phase 3: Profit!
B
16
S
5
G
4
Posts: 106
Reputation: 2,450

Post » Fri Jan 31, 2014 10:15 pm

Right click your condition and "add another condition"


How events workRamPackWobble2014-01-31 22:18:05
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Fri Jan 31, 2014 10:15 pm

Hi @miketv ! I think that if you just right click any of those existing conditions and then click "Add another condition" it will do what you need. If you want it to be more modular then, instead of that, select all the event and then right click, click "Add" and then click "Add a subevent" and with that, everytime the initial event is true, the subevent will trigger if it is also true (this way you can add many scenarios from a common main event).REDVWIN2014-01-31 22:17:16
B
18
S
4
G
1
Posts: 25
Reputation: 1,779

Post » Fri Jan 31, 2014 10:56 pm

[QUOTE=REDVWIN] ...and with that, everytime the initial event is true, the subevent will trigger if it is also true (this way you can add many scenarios from a common main event).[/QUOTE]
thanks, I'll give it a shot
Phase 1: Collect Underpants.
Phase 2: ????
Phase 3: Profit!
B
16
S
5
G
4
Posts: 106
Reputation: 2,450


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 13 guests