switchGesture: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Animations |GROUP1=
|gr1= Animations |GROUP1=
____________________________________________________________________________________________


| When used on a person,the given move is started immediately (without transition). |DESCRIPTION=
| When used on a person,the given move is started immediately (without transition). |DESCRIPTION=
____________________________________________________________________________________________


| soldier [[switchGesture]] moveName |SYNTAX=
| soldier [[switchGesture]] moveName |SYNTAX=
Line 21: Line 18:


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


|x1= <code>soldierOne [[switchGesture]] "Wave";</code>|EXAMPLE1=
|x1= <code>soldierOne [[switchGesture]] "Wave";</code>|EXAMPLE1=
____________________________________________________________________________________________


| [[playGesture]] |SEEALSO=
| [[playGesture]] |SEEALSO=


|  |MPBEHAVIOUR=
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}



Revision as of 04:00, 17 January 2021

Hover & click on the images for description

Description

Description:
When used on a person,the given move is started immediately (without transition).
Groups:
Animations

Syntax

Syntax:
soldier switchGesture moveName
Parameters:
soldier: Object
moveName: String
Return Value:
Nothing

Examples

Example 1:
soldierOne switchGesture "Wave";

Additional Information

See also:
playGesture

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note

Notes

Posted on August 31, 2010
kju
Rpt says "Not implemented" as of OA 1.54.

Bottom Section