- Joined
- Feb 4, 2008
- Messages
- 3,511
Essentially, I want a certain type of unit to turn invisible when standing still close to a tree.
I have this:
[Snippet] GetClosestWidget
And I have Bribe's IsUnitMoving system.
So how does i make the linked jass return the distance to the closest tree? Or if there is a tree within 256 (arbitrary number) distance?
Thanks in advance
I have this:
[Snippet] GetClosestWidget
And I have Bribe's IsUnitMoving system.
So how does i make the linked jass return the distance to the closest tree? Or if there is a tree within 256 (arbitrary number) distance?
Thanks in advance