{"name":"setUnconscious","title":"setUnconscious","type":"command","url":"https://community.bistudio.com/wiki/setUnconscious","revid":310114,"updated":"2022-05-05T12:25:30Z","groups":["Object Manipulation"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","locality":{"argument":"local","effect":"global"},"description":"In Arma 2 and since Arma 3 v1.64, this command sets unit into incapacitated state.\nlifeState results:\n\n- Arma 2: \"UNCONSCIOUS\"\n- Arma 3: \"INCAPACITATED\"\n\n> [!NOTE]\n> **Arma 3:** The unit goes in ragdoll mode and animation played while incapacitated depends on the injuries received.","syntaxes":[{"syntax":"unit setUnconscious set","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"set","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"set"}}],"examples":[{"code":["_unit setUnconscious true;"]}],"see_also":["lifeState","incapacitatedState"]}