GameSalad

Howdy, Stranger!

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

Trigger Points

FiredangerFiredanger Posts: 3Member
edited May 2012 in Miscellaneous
Is there a function that will make an actor react when another actor gets within a certain distance in any direction?

Or a way to make one actor change an attribute of a second actor without using a game.attribute?

Large transparent actors aren't working for trigger points due to the amount of actors, spawns and destroys that are going on.

Best Answers

  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    Accepted Answer
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    Accepted Answer
    Is there a function that will make an actor react when another actor gets within a certain distance in any direction?
    Yes you would use the magnitude function of the expression editor to track the distance between two actor positions. then using a rule say when game.distance is less than 50 do whatever you want triggered.

    Or a way to make one actor change an attribute of a second actor without using a game.attribute?
    Yes if you place an actor in the scene then open and unlock the rules you can create rules an behaviors that directly affect the attributes of other specific actors in the scene.

    Hope that helps

    It's not my fault I never learned to take responsibility for anything. ;)

Answers

  • FiredangerFiredanger Posts: 3Member
    Thanks guys,

    I'm naming my 7th and 8th born children after you two. I appreciate the info greatly. This has saved me a bunch of grief.

    Thanks again.
This discussion has been closed.