animationState: Difference between revisions
Jump to navigation
Jump to search
m (example formate) |
(see also & note) |
||
Line 23: | Line 23: | ||
| mp = 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. |= Multiplayer | | mp = 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. |= Multiplayer | ||
| | | [[BIS_fnc_ambientAnimGetParams]] |= See also | ||
}} | }} | ||
Line 30: | Line 30: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on August 22, 2014 - 23:30</dd> | |||
<dt class="note">[[User:ffur2007slx2_5| ffur2007slx2_5]]</dt> | |||
<dd class="note">(A3 1.26) To sort animation state by keyword, use [[BIS_fnc_ambientAnimGetParams]] | |||
<code> ("KNEEL" [[call]] [[BIS_fnc_ambientAnimGetParams]]) [[select]] 0; | |||
//return: ["amovpknlmstpslowwrfldnon"…]</code> | |||
Useful keywords are: "STAND", "WATCH", "GUARD", "LISTEN_BRIEFING", "LEAN_ON_TABLE", "LEAN", "SIT_AT_TABLE", "KNEEL", "PRONE_INJURED", "BRIEFING" ect. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 16:37, 22 August 2014
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
Examples
- Example 1:
_state = animationState player;
Additional Information
- See also:
- BIS_fnc_ambientAnimGetParams
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
- Posted on August 22, 2014 - 23:30
- ffur2007slx2_5
- (A3 1.26) To sort animation state by keyword, use BIS_fnc_ambientAnimGetParams
("KNEEL" call BIS_fnc_ambientAnimGetParams) select 0; //return: ["amovpknlmstpslowwrfldnon"…]
Useful keywords are: "STAND", "WATCH", "GUARD", "LISTEN_BRIEFING", "LEAN_ON_TABLE", "LEAN", "SIT_AT_TABLE", "KNEEL", "PRONE_INJURED", "BRIEFING" ect.