playAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(removed playgesture from see also)
m (template:command argument fix)
Line 20: Line 20:
| soldier '''playAction''' action |= Syntax
| soldier '''playAction''' action |= Syntax


|p1= soldier: [[Object]] -  |= PARAMETER1
|p1= soldier: [[Object]] -  |PARAMETER1=  


|p2= action: [[String]] -  |= PARAMETER2
|p2= action: [[String]] -  |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| Nothing |= RETURNVALUE
| Nothing |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:35, 7 April 2019

Hover & click on the images for description

Description

Description:
When used on a person, a smooth transition to the given action will be initiated.
For Arma 3 actions see: playAction/actions.
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:
playActionNowswitchActionplayMoveplayMoveNowswitchMove

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

Bottom Section