CBA_fnc_getUnitAnim

Description

Get information about a unit’s stance and speed.

Parameters

_unitget stance and movement mode for this unit

Returns

An array containing two strings, [ stance, speed ] where

  • stance is one of “prone”, “kneel” or “stand”
  • speed is one of “stop”, “slow”, “normal” or “fast”

Examples

_result = player call CBA_fnc_getUnitAnim;

_stance = _result select 0;
_speed = _result select 1;

Author

Close