ACE3/addons/common/functions/fnc_inTransitionAnim.sqf

16 lines
320 B
Plaintext
Raw Normal View History

2015-09-18 14:33:53 +00:00
/*
* Author: commy2
* Check if given unit is in a transitional animation
*
* Arguments:
* 0: A soldier <Object>
*
* Return Value:
* <Bool>
*
* Public: Yes
*/
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
2015-09-19 20:27:23 +00:00
getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0 // return