completely prevent ace_optics from interfering with any mission camera scripts

This commit is contained in:
commy2 2015-08-30 19:30:44 +02:00
parent 74dfd73167
commit c18af0d34b

View File

@ -7,7 +7,7 @@ GVAR(camera) = objNull;
0 = 0 spawn {
waituntil {!isNull ACE_player};
waituntil {sleep 0.5; !(call EFUNC(common,isfeatureCameraActive)) && isNull (missionNamespace getVariable ["ACE_CustomCamera", objNull])};
waituntil {sleep 1; {_x != GVAR(camera)} count allMissionObjects "camera" == 0};
GVAR(camera) cameraEffect ["TERMINATE", "BACK"];
camDestroy GVAR(camera);