playAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 21: Line 21:
|gr2= Animations
|gr2= Animations


| When used on a person, a smooth transition to the given action will be initiated.
|descr= When used on a person, a smooth transition to the given action will be initiated.
<br>
<br>
For Arma 3 actions see: [[playAction/actions]].
For Arma 3 actions see: [[playAction/actions]].

Revision as of 22:17, 13 June 2021

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:
Unit ControlAnimations

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