{"name":"canStand","title":"canStand","type":"command","url":"https://community.bistudio.com/wiki/canStand","revid":329497,"updated":"2022-07-29T13:30:20Z","groups":["Object Manipulation"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global"},"description":"Returns if the given soldier is able to stand up. It only checks for the unit's legs and not its alive/dead status - it can return true for a dead unit.\n\n> [!NOTE]\n> **Arma 3:** Since Arma 3 v1.60 and the introduction of limping, this command always returns true for humans.","syntaxes":[{"syntax":"canStand unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if the unit is human and is still able to stand up, false otherwise."},"form":"unary","right":{"text":"unit"}}],"examples":[{"text":"SQS:\n\n```sqs\n? (not canStand player) : player groupChat \"My legs! They hit my legs!\"\n```","code":["? (not canStand player) : player groupChat \"My legs! They hit my legs!\""]},{"text":"```sqf\nif (not canStand player) then\n{\n    player groupChat \"My legs! They hit my legs!\";\n};\n```","code":["if (not canStand player) then\n{\n\tplayer groupChat \"My legs! They hit my legs!\";\n};"]}],"see_also":["canMove","canFire"]}