ACE3/addons/common/functions/fnc_inTransitionAnim.sqf
2015-09-19 22:27:23 +02: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