animationState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[String]] <nowiki>=</nowiki> '''animationState''' [[Object#Unit|Unit]] |= Syntax
| [[String]] <nowiki>=</nowiki> '''animationState''' unitName |= Syntax


|p1= [[Object#Unit|Unit]]: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |= Parameter 1


| [[String]] |= Return value
| [[String]] |= Return value

Revision as of 22:42, 21 January 2009

-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:
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:
Uncategorised

Syntax

Syntax:
String = animationState unitName
Parameters:
unitName: 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