how to make a trigger but not as magnitude.

guillefaceguilleface Member Posts: 1,014
edited November -1 in Working with GS (Mac)
hi all i search the forum for making a trigger but i didnt find a good answer, i want to make a actor as a trigger, for example , when player collides with "trigger" activate another actor, for example i want to stand on something and when that happened open a door, or make something move, iam trying using true and false but iam missing something i think

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Make a interger attribute called triggeron and set it to 0. Have a rule when actor overlaps with the trigger actor you have, change attribute triggeron to 1

    Then whatever you want to happen when that happens, just have the rules and behaviors in a rule that states when attribute triggeon=1

    Cheers
  • blenderartistblenderartist Member Posts: 32
    You need to use global attributes, make 1 global attribute that is an integer, have the actor that you want to be the "trigger" set up with a rule that adds 1 to the integer.
    In the door have a rule that is "when integer = 1 do this"

    Hope it helps.
    And I hope that I said that right.
  • guillefaceguilleface Member Posts: 1,014
    tanks guys i will try this, i let you know how it works
Sign In or Register to comment.