🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
Well there's jassbot/doc/BlzIsUnitSelectable now all we need is to find out how to make a specific unit not selectable... I guess it's in their unit object stats?
In the worst case you'd need to use the EVENT_PLAYER_UNIT_SELECTED / EVENT_UNIT_SELECTED and unselect the specific units.
Use another Unit or Destructible to act as it's collision and use triggers to reposition it on top of the target every 0.01 seconds. If you rely on a Unit, you can probably make it unselectable by giving it a "blank" model and some other modified fields.
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.