// by commy2 #include "\z\ace\addons\common\script_component.hpp" terminate (missionNamespace getVariable [QGVAR(waitForAnimationHandle), scriptNull]); GVAR(waitForAnimationHandle) = _this spawn { waitUntil {!([_this select 0] call FUNC(inTransitionAnim))}; _this call FUNC(doAnimation); };