• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Invisible unit.

Status
Not open for further replies.
Level 6
Joined
Mar 20, 2008
Messages
208
call SetUnitVertexColor(x, 0, 0, 0, 0)

X is the unit input. There is also a GUI variant. This will give the unit full tranparancy to others.

Not a full solution, but thats alwayts explorable.
I suggest you take off their shared vision if you want the unit to be shaded out to only the owner and invisible to the rest.

If you have low number of player slots being used, you could create a dummy force for each player with full shared unit control, and work with it from there....but thats probably less than optimal.
 
Last edited:
Status
Not open for further replies.
Top