ACE3/addons/common/functions/fnc_inTransitionAnim.sqf

19 lines
389 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-09-18 14:33:53 +00:00
/*
* Author: commy2
* Check if given unit is in a transitional animation
*
* Arguments:
* 0: A soldier <OBJECT>
2015-09-18 14:33:53 +00:00
*
* Return Value:
* Boolean <BOOL>
*
* Example:
* [bob] call ace_common_fnc_inTransitionAnim
2015-09-18 14:33:53 +00:00
*
* Public: Yes
*/
2015-09-19 20:27:23 +00:00
getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0 // return