A rule to pause an actor when overlapping another actor

Hello

I want to have a rule when actor 1 overlaps or collides with actor 2 then actor 2 is paused and it functionally is paused when in the actor 1 area. So like when actor 2 is in that actor 1 area actor 2s rules and behaviors are paused for that moment. Any tips.

Thanks

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    When actor collides with actor 1
         [no rules]
         Otherwise
              [all of the rules for the actor]

  • reginald.bernardinreginald.bernardin Member Posts: 346

    Thanks tatiang but how would that look on gamesalad. Like is there a no rule behavoir and an all rule behavior?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2015

    No, you would just drag in a Rule and then open the Otherwise section and add all of your rules or behaviors there. When the rule condition (actor overlaps or collides) is false, then the Otherwise section will be active and anything placed there will run.

    My [   ] notations above just meant "don't put any rules/behaviors here" and "put all of your rules/behaviors here."

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Like this:

  • reginald.bernardinreginald.bernardin Member Posts: 346

    Thanks i will try it

Sign In or Register to comment.