Camouflage

Status
Not open for further replies.
Level 2
Joined
Mar 9, 2006
Messages
14
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.
 
ikarsik said:
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?

first of all if i do a trigger on every shrub the map size will get very big.
And you can't open DotA in world editor, it's protected.
 
Status
Not open for further replies.
Back
Top