This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible.
Description
Hide entity. Can be used on soldiers and vehicles, also on static objects.
Syntax
Syntax 1
hideObject object
Parameters:
object: Object
Returns: Nothing
Syntax 2
object hideObject hidden
Parameters:
Returns: Nothing
Examples
Example 1
hideObject unitName;
Example 2
objectName hideObject true;
See also
isObjectHidden · hideObjectGlobal · deleteCollection
Community notes
Use MP framework to activate this command on all players from server or any other maschine
_nic = [nil, mantohide, "per", rHideObject, true] call RE; // In A3 use hideObjectGlobal instead.
Hidden Vehicles still emit smoke/rotor blade dust and (probably) still emit engine sounds. Useful for creating objects the mission maker doesn't want to be seen, like Units that protect a certain Area (like a safe-zone) against teamkillers or enemy units.
When used on player, it only has an effect on third person mode. First person LOD is still visible.
hideObject and hideObjectGlobal disable object collision in addition to rendering. (tested by hiding buildings and running through, driving through, flying through, and shooting through where the building used to be)