playActionNow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg=local | |arg=local | ||
|eff= global | |eff= global | ||
|gr1= Animations | |gr1= Animations | ||
| When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded. | | When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded. | ||
Line 15: | Line 15: | ||
For Arma 3 actions see: [[playAction/actions]]. | For Arma 3 actions see: [[playAction/actions]]. | ||
| | | soldier '''playActionNow''' action | ||
| | |p1= soldier: [[Object]] - | ||
| | |p2= action: [[String]] - | ||
| | |p3= | ||
| [[Nothing]] | |||
| | |x1= <code>soldierOne [[playActionNow]] "SitDown";</code> | ||
|x2= <code>rabbitTwo [[playActionNow]] "WalkF";</code> | |||
| [[playAction]], [[switchAction]], [[playMove]], [[playMoveNow]], [[switchMove]] | |||
| [[playAction]], [[switchAction]], [[playMove]], [[playMoveNow]], [[switchMove]] | |||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:27, 18 January 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
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).