ACE3/addons/common/functions/fnc_inTransitionAnim.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

19 lines
392 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: commy2
* Check if given unit is in a transitional animation
*
* Arguments:
* 0: A soldier <OBJECT>
*
* Return Value:
* Boolean <BOOL>
*
* Example:
* [bob] call ace_common_fnc_inTransitionAnim
*
* Public: Yes
*/
getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0 // return