playActionNow: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (template:command argument fix) |
||
Line 20: | Line 20: | ||
| soldier '''playActionNow''' action |= Syntax | | soldier '''playActionNow''' action |= Syntax | ||
|p1= soldier: [[Object]] - |= | |p1= soldier: [[Object]] - |PARAMETER1= | ||
|p2= action: [[String]] - |= | |p2= action: [[String]] - |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>soldierOne [[playActionNow]] "SitDown";</code>|= | |x1= <code>soldierOne [[playActionNow]] "SitDown";</code>|EXAMPLE1= | ||
|x2= <code>rabbitTwo [[playActionNow]] "WalkF";</code>|= | |x2= <code>rabbitTwo [[playActionNow]] "WalkF";</code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[playAction]], [[switchAction]], [[playMove]], [[playMoveNow]], [[switchMove]] |= | | [[playAction]], [[switchAction]], [[playMove]], [[playMoveNow]], [[switchMove]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:35, 7 April 2019
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:
- Uncategorised
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
Notes
- 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).