beginscript; // loop till cutscene1 is finished label WaitForGVar0: if (GetGlobalVar(0) == 1) { //Start timerA //SetGlobalVar(1,2); EndFrame(); goto Start; } EndFrame(); goto WaitForGVar0; label Start: //SetGlobalVar(0,2); SetVar (0, GetTime()+10); // set automatic start after X seconds label WaitForPlayer: // Wait for player to activate jaklys or go after X seconds if (PlayerInRange(2000) || GetVar(0) < GetTime()) { EndFrame(); goto InitAttack_1; } EndFrame(); goto WaitForPlayer; label InitAttack_1: // Spawn jeeps allong road SpawnOtherUnit(Jep_G01_01_Scr); WaitForTime(660); // spawn jeep to come around hill after road block TriggerMessage(2,0xffff,0xffff); SpawnOtherUnit(Jep_G01_04_Scr); WaitForTime(950); // Spawn cropdusters in vally SpawnOtherUnit(Crp_G01_01_Scr); SpawnOtherUnit(Crp_G01_02_Scr); WaitForTime(300); // Spawn jeeps at the end of the vally SpawnOtherUnit(Jep_G02_03_Scr); //SpawnOtherUnit(Jep_G02_04_Scr); WaitForTime(500); //Spawn jeep on plains SpawnOtherUnit(Jep_G02_02_Scr); WaitForTime(200); TriggerMessage(3,0xffff,0xffff); SetHUDTarget(CutScene1B_Scr); label End: EndFrame(); goto End; endscript; $