Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
How can i make a specific unit-type to turn invisible (hide) when he is near a bush (actual name Shrub) or a tree, like in DotA one of the heroes turns invisible when he is near a tree.
You could err make lots of regions on top of the shrubs and then do trigerred events where if a certain unit enters the region it makes them invisible somehow. Maybe you can look at the trigger file in the dota map?
Sounds like you need a loop, which counts the number of destructibles in a circle around the hero (Only counting trees) every second. If this number is greater than 1, give him permanant invisiblity, if not, remove it.
You could err make lots of regions on top of the shrubs and then do trigerred events where if a certain unit enters the region it makes them invisible somehow. Maybe you can look at the trigger file in the dota map?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.