Use "or" for some conditions only.

  • Damn i am beginning regretting the freedom of code :'(

    So among to the inexistence of "disable collisions with" function, "set origin point to" function comes a third issue.

    It's about or blocks.

    Basically I want to use or blocks in addition to an existing condition.

    Like

    I have this:

    -If woman overlapping with zone 1

    -And if boy overlapping zone 2 -----> woman move to boy

    But i want this

    -If woman overlapping with zone 1

    -And if: *boy overlapping zone 2 -----> woman move to boy

    OR*boy overlapping zone 3

    OR*boy overlapping zone 4

    Sub events do not work

    I am forced to do the same condition for each zone. There are. 9 zones. So 9*9=81conditions...sweet

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Perhaps you could do it with else conditions?

  • Perhaps you could do it with else conditions?

    Nah else is a break whenever the if condition does not happen.

    What i want is:

    I want an ice-cream and (an apple juice or an orange juice or a multi-juice)

  • You can use expressions, although it doesn't work directly with the overlap test. You might need to use some temporary variables.

  • damn blackhornet.

    thank you

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