{"name":"playActionNow","title":"playActionNow","type":"command","url":"https://community.bistudio.com/wiki/playActionNow","revid":364763,"updated":"2024-06-08T18:43:24Z","groups":["Animations"],"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":"When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.\n\n> [!NOTE]\n> **Arma 3:** For Arma 3 actions, see playAction/actions.","syntaxes":[{"syntax":"soldier playActionNow action","params":[{"name":"soldier","type":"Object","type_expr":"Object"},{"name":"action","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"soldier"},"right":{"text":"action"}}],"examples":[{"code":["soldierOne playActionNow \"SitDown\";"]},{"code":["rabbitTwo playActionNow \"WalkF\";"]}],"see_also":["playAction","switchAction","playMove","playMoveNow","switchMove"],"notes":[{"user":"Wolfrug","date":"2010-10-12T09:41:00Z","text":"Some other possible playactions:\n\n- `\"walkF\"` - walk forward\n- `\"walkB\"` - walk backwards\n- `\"walkR\"` - strafe right\n- `\"walkL\"` - strafe left\n- `\"grabDrag\"` - initiate First Aid dragging animation\n- `\"stopDrag\"` - stop First Aid dragging animation\n- `\"reloadMagazine\"` - reload the current magazine\n- `\"gestureFreeze\"` - hand signal \"Freeze\"\n- `\"gestureGo\"`\n- `\"gestureCover\"`\n- `\"gestureAttack\"`\n- `\"gestureCeaseFire\"`\n- `\"gestureFollow\"`\n- `\"gestureUp\"`\n- `\"gestureAdvance\"`\n- `\"gesturePoint\"`\n\nNote that playAction works regardless of stance (rifle up, down, crouched, prone)."},{"user":"h -","date":"2023-09-05T07:36:58Z","text":"Playing a gesture with playActionNow while a soldier held weapon is deployed on something will 'undeploy' the weapon.\nUsing playAction doesn't."}]}