playAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality added)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg=local |= Arguments in MP
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| When used on a person, a smooth transition to the given action will be initiated. |= Description
| When used on a person, a smooth transition to the given action will be initiated.
 
[[ArmA: Actions]]<br/>
[[ArmA_2:_Actions]]<br/>
[[Operation_Flashpoint:_Actions_List]] |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 29:




|x1= <code>soldierOne playAction "SitDown"</code>|= EXAMPLE1  
|x1= <code>soldierOne [[playAction]] "SitDown"</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[playActionNow]], [[playMove]], [[switchMove]] |= SEEALSO  
| [[playActionNow]], [[playMove]], [[playMoveNow]], [[switchMove]], [[playGesture]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 21:09, 5 September 2013

Hover & click on the images for description

Description

Description:
When used on a person, a smooth transition to the given action will be initiated. ArmA: Actions
ArmA_2:_Actions
Operation_Flashpoint:_Actions_List
Groups:
Uncategorised

Syntax

Syntax:
soldier playAction action
Parameters:
soldier: Object -
action: String -
Return Value:
Nothing

Examples

Example 1:
soldierOne playAction "SitDown"

Additional Information

See also:
playActionNowplayMoveplayMoveNowswitchMoveplayGesture

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

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). --Wolfrug 09:40, 12 October 2010 (CEST)

Bottom Section