gestureState

From Bohemia Interactive Community
Revision as of 13:02, 13 July 2021 by Leopard20 (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.06 |branch = dev |arg= global |gr1= Animations |descr= Returns the name of a unit's current gesture. Seems to be forced to lo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Returns the name of a unit's current gesture. Seems to be forced to lower case in Arma 3.
This command is only for a man unit, other units such as animals cannot use this command.
Multiplayer:
When executed on a client, this command only returns accurate results when the target unit is within sight of the client. When executed on a dedicated server, the returned value is accurate.
Groups:
Animations

Syntax

Syntax:
gestureState unitName
Parameters:
unitName: Object
Return Value:
String - "" if N/A.

Examples

Example 1:
_state = gestureState player;

Additional Information

See also:
switchActionplayActionBIS_fnc_ambientAnimGetParamsanimationState

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