{"name":"BIN_fnc_setRagdoll","title":"BIN fnc setRagdoll","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_setRagdoll","revid":369823,"updated":"2024-10-14T09:22:12Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.94"},"since":"arma3 1.94","arma3_since":"1.94","description":"Set the provided unit in ragdoll state (pushed by an invisible object).\n\n> [!NOTE]\n> Arma 3 v2.18 addForce can be used in vanilla Arma 3.\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[unit, force, selectionPos] call BIN_fnc_setRagdoll","params":[{"name":"unit","type":"Object","description":"the unit to ragdoll","type_expr":"Object"},{"name":"unit","type":"Array format Vector3D","description":"force applied to the colliding object","type_expr":"Vector3D","types":["Array","Vector3D"]},{"name":"unit","type":"String","type_expr":"String"}],"returns":{"type":"String","type_expr":"String","description":"event ID from BIS_fnc_addStackedEventHandler","text":"String event ID from BIS_fnc_addStackedEventHandler"}}],"examples":[{"code":["[player, [0, 100, 0]] call BIN_fnc_setRagdoll;"]}],"see_also":["setUnconscious","addForce"]}