Page MenuHomeFeedback Tracker

removeUniform command does not work in multiplayer (server)
New, WishlistPublic


"removeUniform this" does not remove uniform from a unit on a server. Works fine on single player.


Legacy ID
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

Blake edited Steps To Reproduce. (Show Details)Aug 3 2013, 12:41 AM
Blake edited Additional Information. (Show Details)
Blake set Category to Visual-Characters.
Blake set Reproducibility to Always.
Blake set Severity to None.
Blake set Resolution to Open.
Blake set Legacy ID to 2358636622.May 7 2016, 3:49 PM
Bohemia added a subscriber: AD2001.Aug 3 2013, 12:41 AM

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.

I hear this should be fixed now? Can anyone confirm?