Like the topic says, I have about 50 units (teleport stones) on my map which all do exactly same thing when your hero comes near them, EXCEPT that I need to do a few stuff to the specific teleport stone once your hero got close too.
So problem is, what is the easiest way to detect the unit that your just got in range of? So far I was thinking of creating a unit group with al the teleport stones, then for each unit I check the distance between triggering unit and it, and if it's less then 200, i'm certain THATS the teleport stone. However, this seems elaborate.
Any ideas?
So problem is, what is the easiest way to detect the unit that your just got in range of? So far I was thinking of creating a unit group with al the teleport stones, then for each unit I check the distance between triggering unit and it, and if it's less then 200, i'm certain THATS the teleport stone. However, this seems elaborate.
Any ideas?