Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

rules help!

gamerofthesaladgamerofthesalad Posts: 2Member
edited 5:24PM in Working with GS (Mac)
for one of my rules, i need something to occur when one specific event happens and also one thing out of three possible events has happened. i know that you can change the scroll down bar at the top of each rule between "any" and "all" but is there anyway to make it any more specific than this?


  • giacomopoppigiacomopoppi Posts: 914Member, PRO
    well, you can place a rule inside another rule.

    rule (all)
    when car brakes
    rule 2(any)
    when speed=0 or car crashes
    game over

    (rule 2 is inside rule 1)

    Sorry for my terrible example. it is quite hard to explain.

    do you get the idea?

  • old_kipperold_kipper Posts: 1,420Member
    2 game integer attributes. The first one is changed by the first event and is changed from 0 to 1,2,or 3 when it has happened depending on what did happen, and then the second attribute is change to 1,2,or 3 depending on the outcome of the second event.

    Then if you wish further events to be influenced by the combination of the past two, you have rules that say when rule a=1 and rule b=1 then... , and when rule a=1 and rule b=2 then... etc

    hope that makes sense

    cheers kipper
This discussion has been closed.