• 🏆 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!

Hiding a unit for a specific player without desync?

Status
Not open for further replies.
Level 1
Joined
Jul 31, 2014
Messages
5
Is it possible to have a unit hidden/visible for different players?

I was searching for an answer to this, and it seems like this is the summary:
1. Hiding the unit for GetLocalPlayer doesn't immediately cause a desync, but will likely later on. (Can't do this because of desync)
2. You can use SetUnitVertexColor and set their transparency, but they are still selectable and have a shadow. (Can't do this because they need to be completely hidden & unselectable)
3. Using permanent invisibility (can't do this because the unit is a neutral force)

Neither of the above options are really viable for me. Is there another option that I may have missed?
 
Status
Not open for further replies.
Top