how do I combine conditions?

  • 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

  • Right click your condition and "add another condition"

    How events work

  • 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).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • ...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).

    thanks, I'll give it a shot

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)