playActionNow
Jump to navigation
Jump to search
Description
- Description:
- When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.
- Groups:
- Animations
Syntax
- Syntax:
- soldier playActionNow action
- Parameters:
- soldier: Object
- action: String
- Return Value:
- Nothing
Examples
- Example 1:
- soldierOne playActionNow "SitDown";
- Example 2:
- rabbitTwo playActionNow "WalkF";
Additional Information
- See also:
- playAction switchAction playMove playMoveNow switchMove
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Oct 12, 2010 - 09:41 (UTC)
-
Some other possible playactions:
- "walkF" - walk forward
- "walkB" - walk backwards
- "walkR" - strafe right
- "walkL" - strafe left
- "grabDrag" - initiate First Aid dragging animation
- "stopDrag" - stop First Aid dragging animation
- "reloadMagazine" - reload the current magazine
- "gestureFreeze" - hand signal "Freeze"
- "gestureGo"
- "gestureCover"
- "gestureAttack"
- "gestureCeaseFire"
- "gestureFollow"
- "gestureUp"
- "gestureAdvance"
- "gesturePoint"
Note that playAction works regardless of stance (rifle up, down, crouched, prone).
- Posted on Sep 05, 2023 - 07:36 (UTC)
- Playing a gesture with playActionNow while a soldier held weapon is deployed on something will 'undeploy' the weapon. Using playAction doesn't.