Trigger Points

FiredangerFiredanger Member Posts: 3
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,256
    Accepted Answer
  • tenrdrmertenrdrmer Posts: 9,934
    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

Answers

  • FiredangerFiredanger Member Posts: 3
    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.
Sign In or Register to comment.