animationState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (global arg, accuracy of results is dependant on sight?)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg= global |= Arguments in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return the name of the current primary animation. |= Description
| Return the name of a unit's current primary animation. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 21:
|x1= <pre>_state = animationState player</pre> |= Example 1  
|x1= <pre>_state = animationState player</pre> |= Example 1  
____________________________________________________________________________________________
____________________________________________________________________________________________
| mp = This command may only return accurate values when the target unit is within sight of the client. On dedicated servers, returned value is <???>. |= Multiplayer


|  |= See also
|  |= See also

Revision as of 16:30, 21 November 2008

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return the name of a unit's current primary animation.
Multiplayer:
This command may only return accurate values when the target unit is within sight of the client. On dedicated servers, returned value is <???>.
Groups:
Uncategorised

Syntax

Syntax:
String = animationState Unit
Parameters:
Unit: Object
Return Value:
String

Examples

Example 1:
_state = animationState player

Additional Information

See also:
See also needed

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

Bottom Section