playAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 34: Line 34:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Some other possible playactions:
Some other possible playactions:<br>
"walkf" - walk forward
"walkf" - walk forward<br>
"walkb" - walk backwards
"walkb" - walk backwards<br>
"walkr" - strafe right
"walkr" - strafe right<br>
"walkl" - strafe left
"walkl" - strafe left<br>
"grabdrag" - initiate First Aid dragging animation
"grabdrag" - initiate First Aid dragging animation<br>
"stopdrag" - stops First Aid dragging animation
"stopdrag" - stops First Aid dragging animation<br><br>


Note that playAction works regardless of stance (rifle up, down, crouched, prone), but does not work on top of other playAction (e.g. "grabdrag").
Note that playAction works regardless of stance (rifle up, down, crouched, prone), but does not work on top of other playAction (e.g. "grabdrag").

Revision as of 08:41, 12 October 2010

Hover & click on the images for description

Description

Description:
When used on a person, a smooth transition to the given action will be initiated.
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:
playActionNowplayMoveswitchMove

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

Note that playAction works regardless of stance (rifle up, down, crouched, prone), but does not work on top of other playAction (e.g. "grabdrag"). --Wolfrug 09:40, 12 October 2010 (CEST)

Bottom Section