//beginscript invis1; beginscript; FreezePlayer (); SetButtonJump(); if (HasJumped()) goto skipcs1; TriggerMessage (11, 0xffff, 0xffff); WaitForTime(50); JumpOnButton(false); label skipcs1: ChangeCamera (0x816, 100, 150); SetButtonJump(); if (HasJumped()) goto skipcs2; WaitForTime(50); JumpOnButton(false); label skipcs2: ResumePlayer (); ChangeCamera (0x801, 100, 150); TriggerMessage (5, 0xffff, 0xffff); SetHUDTarget (miss1); SetGlobalVar (4, 1); SetVar (0, GetTime()+20); label despawn: if (GetVar(0) > GetTime()) { EndFrame(); goto despawn; } DespawnOtherUnit (actdrag); label ObjectiveCam2: if (OtherUnitDead (miss1)!= 1) { EndFrame(); goto ObjectiveCam2; } // SetHUDTarget (0); // ChangeCamera (0x803, 30, 40); SetVar (0, GetTime()+22); label MissCam2: if (GetVar(0) > GetTime()) { EndFrame(); goto MissCam2; } // ChangeCamera (0x801, 30, 40); SetHUDTarget (miss3); // SetGlobalVar (4, 2); // SetVar (0, GetTime()+Rnd()); //label TriDelay1: // if (GetVar(0) > GetTime()) // { // EndFrame(); // goto TriDelay1; // } // // SetVar (0, Rnd()); //label Spawn1: // if (GetVar(0) < 124) // { // SpawnOtherUnit (ebike1); // ChangeCamera (0x802, 30, 40); // SetHUDTarget (ebike1); // EndFrame(); // goto TriCam0; // } // SpawnOtherUnit (nbike1); // ChangeCamera (0x809, 30, 40); // SetHUDTarget (nbike1); //label TriCam0: //SetVar (1, GetTime()+30); //label TriCam1: // if (GetVar(1) > GetTime()) // { // EndFrame(); // goto TriCam1; // } //ChangeCamera (0x801, 30, 40); label ObjectiveCam3: if (OtherUnitDead (miss3)!= 1) { EndFrame(); goto ObjectiveCam3; } // SetHUDTarget (0); // ChangeCamera (0x804, 30, 40); SetVar (0, GetTime()+22); label MissCam3: if (GetVar(0) > GetTime()) { EndFrame(); goto MissCam3; } SetHUDTarget (miss2); // SetGlobalVar (4, 3); // ChangeCamera (0x801, 30, 40); // SetVar (0, GetTime()+Rnd()); //label TriDelay2: // if (GetVar(0) > GetTime()) // { // EndFrame(); // goto TriDelay2; // } // // SetVar (0, Rnd()); //label Spawn2: // if (GetVar(0) < 124) // { // if (GetGlobalVar (2) == 1) // { // SpawnOtherUnit (wbike1); // ChangeCamera (0x80a, 30, 40); // SetHUDTarget (wbike1); // EndFrame(); // goto TriCam2; // } // SpawnOtherUnit (ebike2); // ChangeCamera (0x80f, 30, 40); // SetHUDTarget (ebike2); // EndFrame(); // goto TriCam2; // } // if (GetGlobalVar (1) == 1) // { // SpawnOtherUnit (wbike1); // ChangeCamera (0x80a, 30, 40); // SetHUDTarget (wbike1); // EndFrame(); // goto TriCam2; // } // // SpawnOtherUnit (nbike2); // ChangeCamera (0x80e, 30, 40); // SetHUDTarget (nbike2); //label TriCam2: // SetVar (1, GetTime()+30); // //label TriCam3: // if (GetVar(1) > GetTime()) // { // EndFrame(); // goto TriCam3; // } // // ChangeCamera (0x801, 30, 40); label ObjectiveCam4: if (OtherUnitDead (miss2)!= 1) { EndFrame(); goto ObjectiveCam4; } // SetHUDTarget (0); // ChangeCamera (0x805, 30, 40); SetVar (0, GetTime()+22); label MissCam4: if (GetVar(0) > GetTime()) { EndFrame(); goto MissCam4; } // ChangeCamera (0x801, 30, 40); SetHUDTarget (miss6); // SetGlobalVar (4, 4); // SetVar (0, GetTime()+Rnd()); //label TriDelay3: // if (GetVar(0) > GetTime()) // { // EndFrame(); // goto TriDelay3; // } //label Spawn3: // //check and try to spawn East Bike // if (GetGlobalVar (2) == 1) //check to see if East Tri is laid // { // if (GetGlobalVar (3) == 1) //check to see if WestTri is laid // { // SpawnOtherUnit (nbike3); // ChangeCamera (0x811, 30, 40); // SetHUDTarget (nbike3); // EndFrame(); // goto TriCam4; // } // SpawnOtherUnit (wbike2); // ChangeCamera (0x810, 30, 40); // SetHUDTarget (wbike2); // EndFrame(); // goto TriCam4; // } // SpawnOtherUnit (ebike3); // ChangeCamera (0x812, 30, 40); // SetHUDTarget (ebike3); // EndFrame(); // goto TriCam4; //label TriCam4: // SetVar (1, GetTime()+30); //label TriCam5: // if (GetVar(1) > GetTime()) // { // EndFrame(); // goto TriCam5; // } //ChangeCamera (0x801, 30, 40); label ObjectiveCam5: if (OtherUnitDead (miss6)!= 1) { EndFrame(); goto ObjectiveCam5; } // SetHUDTarget (0); // ChangeCamera (0x806, 30, 40); SetVar (0, GetTime()+22); label MissCam5: if (GetVar(0) > GetTime()) { EndFrame(); goto MissCam5; } // ChangeCamera (0x801, 30, 40); SetHUDTarget (miss4); // SetGlobalVar (4, 5); label ObjectiveCam6: if (OtherUnitDead (miss4)!= 1) { EndFrame(); goto ObjectiveCam6; } // SetHUDTarget (0); // ChangeCamera (0x807, 30, 40); SetVar (0, GetTime()+22); label MissCam6: if (GetVar(0) > GetTime()) { EndFrame(); goto MissCam6; } // ChangeCamera (0x801, 30, 40); SetHUDTarget (miss5); // SetGlobalVar (4, 6); //label ObjectiveCam7: // if (OtherUnitDead (miss5)!= 1) // { // EndFrame(); // goto ObjectiveCam7; // } // // SetHUDTarget (0); // ChangeCamera (0x803, 30, 40); // SetVar (0, GetTime()+20); // //label MissCam2: // if (GetVar(0) > GetTime()) // { // EndFrame(); // goto MissCam2; // } //ChangeCamera (0x801, 30, 40); label End: EndFrame(); goto End; endscript; $