playActionNow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
m (Text replacement - "(\|p[0-9]+ *= * )+" to "")
Line 20: Line 20:


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


| [[Nothing]]
| [[Nothing]]

Revision as of 23:07, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Animations

Syntax

Syntax:
Syntax needed
Parameters:
soldier: Object -
action: String -
Return Value:
Return value needed

Examples

Example 1:
soldierOne playActionNow "SitDown";
Example 2:
rabbitTwo playActionNow "WalkF";

Additional Information

See also:
See also needed

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
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).