• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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