- 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?
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?