Jump to content
Cpt.ScottMiller836

Moving Objects, and Using nearestObjects variable with getPos and setPos

Recommended Posts

Hello Guys, I am Really suffering a little bit. There is a small complicated problem where i don't understand how i am going to do this, here is my question: How Can I Activate a Trigger by Going near someone  or a unit or Object with distance limit like code:  (blablabla) > 5 or (blablabla) < 5; and how to set Position of a unit near Object with distance from him.

 

Share this post


Link to post
Share on other sites

to check if unit is near another unit:

 

unit1 distance unit2 < 5

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×