playActionNow: Difference between revisions

From Bohemia Interactive Community
(moved actions from comment, linked to dedicated page from description)
(removing wrong action links, added example, formatting note)
Line 14: Line 14:
<br>
<br>
For Arma 3 actions see: [[playAction/actions]].  
For Arma 3 actions see: [[playAction/actions]].  
<br>
For older games see: [[ArmA: Actions]], [[ArmA_2:_Actions]], [[Operation_Flashpoint:_Actions_List]].


|= Description
|= Description
Line 28: Line 26:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| Nothing |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>soldierOne [[playActionNow]] "SitDown"</code>|= EXAMPLE1  
|x1= <code>soldierOne [[playActionNow]] "SitDown";</code>|= EXAMPLE1  
 
|x2= <code>rabbitTwo [[playActionNow]] "WalkF";</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 45: Line 45:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on October 12, 2010 - 9:41
<dt class="note">'''[[User:Wolfrug|Wolfrug]] ([[User talk:Wolfrug|talk]])'''<dd class="note">
'''Some other possible playactions:'''<br>
'''Some other possible playactions:'''<br>
"walkf" - walk forward<br>
"walkf" - walk forward<br>
Line 64: Line 66:


Note that playAction works regardless of stance (rifle up, down, crouched, prone).
Note that playAction works regardless of stance (rifle up, down, crouched, prone).
--[[User:Wolfrug|Wolfrug]] 09:41, 12 October 2010 (CEST)
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 22:19, 18 April 2014

Hover & click on the images for description

Description

Description:
When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.
For Arma 3 actions see: playAction/actions.
Groups:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
playActionplayMoveplayMoveNowswitchMoveplayGesture

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

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

Bottom Section