ACE3/addons/common/functions/fnc_inTransitionAnim.sqf
2018-01-17 03:36:10 -08:00

16 lines
320 B
Plaintext

/*
* Author: commy2
* Check if given unit is in a transitional animation
*
* Arguments:
* 0: A soldier <Object>
*
* Return Value:
* <Bool>
*
* Public: Yes
*/
#include "script_component.hpp"
getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0 // return