playActionNow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 31: | Line 31: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>soldierOne playActionNow "SitDown";</sqf> | ||
|x2= < | |x2= <sqf>rabbitTwo playActionNow "WalkF";</sqf> | ||
|seealso= [[playAction]] [[switchAction]] [[playMove]] [[playMoveNow]] [[switchMove]] | |seealso= [[playAction]] [[switchAction]] [[playMove]] [[playMoveNow]] [[switchMove]] |
Revision as of 10:24, 13 May 2022
Description
- Description:
- When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.
For Arma 3 actions see: playAction/actions. - 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 October 12, 2010 - 9:41
- Wolfrug (talk)
-
Some other possible playactions:
"walkf" - walk forward
"walkb" - walk backwards
"walkr" - strafe right
"walkl" - strafe left
"grabdrag" - initiate First Aid dragging animation
"stopdrag" - stops First Aid dragging animation
"reloadMagazine" - reloads 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).