{"name":"hideObject","title":"hideObject","type":"command","url":"https://community.bistudio.com/wiki/hideObject","revid":349468,"updated":"2023-11-08T16:49:17Z","groups":["Object Manipulation"],"status":"ok","games":{"arma2":"1.06","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.06","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Hide entity. Can be used on soldiers and vehicles, also on static objects.","syntaxes":[{"syntax":"hideObject object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"object"}},{"syntax":"object hideObject hidden","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"hidden","type":"Boolean","description":"true->hidden; false->visible","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"hidden"}}],"examples":[{"code":["hideObject unitName;"]},{"code":["objectName hideObject true;"]}],"see_also":["isObjectHidden","hideObjectGlobal","deleteCollection"],"notes":[{"user":"Shuko","date":"2010-07-15T20:00:00Z","text":"This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible."},{"user":"McHide","date":"2011-02-04T08:13:00Z","text":"Use MP framework to activate this command on all players from server or any other maschine\n\n```sqf\n_nic = [nil, mantohide, \"per\", rHideObject, true] call RE; // In A3 use hideObjectGlobal instead.\n```"},{"user":"DamonDaemon","date":"2012-02-10T06:36:00Z","text":"Hidden Vehicles still emit smoke/rotor blade dust and (probably) still emit engine sounds.\nUseful 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."},{"user":"Benargee","date":"2014-10-30T05:54:00Z","text":"When used on player, it only has an effect on third person mode. First person LOD is still visible."},{"user":"DreadedEntity","date":"2015-06-27T18:14:00Z","text":"hideObject and hideObjectGlobal disable object collision in addition to rendering.\n(tested by hiding buildings and running through, driving through, flying through, and shooting through where the building used to be)"}]}