playActionNow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 23: | Line 23: | ||
For Arma 3 actions see: [[playAction/actions]]. | For Arma 3 actions see: [[playAction/actions]]. | ||
|s1= | |s1= soldier '''playActionNow''' action | ||
|p1= soldier: [[Object]] - | |p1= soldier: [[Object]] - |
Revision as of 22:21, 19 June 2021
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
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).