ACE3/addons/common/functions/fnc_queueAnimation.sqf

11 lines
281 B
Plaintext
Raw Normal View History

// by commy2
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
terminate (missionNamespace getVariable [QGVAR(waitForAnimationHandle), scriptNull]);
GVAR(waitForAnimationHandle) = _this spawn {
2015-02-19 18:14:52 +00:00
waitUntil {!([_this select 0] call FUNC(inTransitionAnim))};
2015-02-19 18:14:52 +00:00
_this call FUNC(doAnimation);
};