playAction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 13: | Line 12: | ||
|gr2= Animations |GROUP2= | |gr2= Animations |GROUP2= | ||
| When used on a person, a smooth transition to the given action will be initiated. | | When used on a person, a smooth transition to the given action will be initiated. | ||
Line 20: | Line 18: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| soldier '''playAction''' action |SYNTAX= | | soldier '''playAction''' action |SYNTAX= | ||
Line 35: | Line 32: | ||
|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 02:14, 17 January 2021
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
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