"removeUniform this" does not remove uniform from a unit on a server. Works fine on single player.
Description
Description
Details
Details
- Legacy ID
- 2358636622
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Visual-Characters
Steps To Reproduce
Insert any unit on and put 'removeUniform this' to the command line. Test the mission on a server. Notice that uniform still stays on.
Event Timeline
Comment Actions
I am not sure this is a valid defect. The removeUniform command probably only has effect on the client where the unit is local. So if you are trying to remove the uniform of a remote unit, it would not work. You would have to broadcast the call with BIS_fnc_MP, and execute it only on the client where the unit is local.
It would be nice if the behavior was explicitly documented on the BIS wiki ... along with an example of how to make it work for a remote unit.