beginscript; label check: if (OtherUnitInArea(INVISJ01, 9055, 4243, 200)) { SetHUDTarget(trigsmke); goto Check1; } EndFrame(); goto check; label Check1: if (GetGlobalVar (4)) // triang 1 dropped { // update the hud arrow SetHUDTarget(0x7807); // set to 2 goto Check2; } EndFrame(); goto Check1; label Check2: if (GetGlobalVar (5)) // triang 2 dropped { // update the hud arrow SetHUDTarget(0x7808); // set to 3 goto Check3; } EndFrame(); goto Check2; label Check3: if (GetGlobalVar (6)) { SetHUDTarget(0x7836); //set to 4 SpawnOtherUnit(0x7014); TriggerUnit(0x7014); goto Check4; } EndFrame(); goto Check3; label Check4: // SpawnOtherUnit(0x7014); SpawnOtherUnit(0x7838); SpawnOtherUnit(bsedg1); IncludeUTarget(0x7401); // SetFollowWaypoint(176, 0, 0); SetVar (0, GetTime()+60); // changed from 60 label TimeWait8: if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait8; } EndFrame(); label fmcam5: if (OtherUnitInArea(basesold, 8042, 4315, 100)) { PausePlayer(); FreezePlayer(); TriggerUnit(0x7c01); ChangeCamera(0x810,30,30); SetVar (0, GetTime()+120); //changeed from 50 EndFrame(); goto TimeWait4; } EndFrame(); goto fmcam5; label TimeWait4: if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait4; } EndFrame(); label fmcam6: { ChangeCamera(0x801,30,30); DespawnOtherUnit(0x7c01); ResumePlayer(); EndFrame(); goto base1; } EndFrame(); goto fmcam6; label base1: // if (PlayerInArea(9150, 4325, 2000)) if (GetGlobalVar (4) == 1 && GetGlobalVar (5) == 1 && GetGlobalVar (6) == 1) { SpawnOtherUnit(MISS1); SpawnOtherUnit(s1); SpawnOtherUnit(s2); SpawnOtherUnit(s3); SpawnOtherUnit(s4); SpawnOtherUnit(apc); EndFrame(); goto Final; } EndFrame(); goto base1; label Final: if (PlayerInArea(9150, 4325, 1000)) { SetHUDTarget(0x7006); EndFrame(); goto End; } EndFrame(); goto Final; label End: EndFrame(); goto End; endscript; $