beginscript; ExcTargetType (0); IncludeGTarget (2); label Start: if (UnitDead()) { ChangeCamera (0x802, 30, 40); TriggerMessage (22, h22, 0x7804); SetButtonJump(); if (HasJumped()) goto skipcs1; WaitForTime(50); JumpOnButton(false); label skipcs1: EndLevel (0); } if (GetFollowMode() != 3) {EndFrame(); goto Start;} SetFollowWaypoint (77, 0, 0); label InPosition: if (UnitDead()) { ChangeCamera (0x802, 30, 40); TriggerMessage (22, h22, 0x7804); SetButtonJump(); if (HasJumped()) goto skipcs2; WaitForTime(50); JumpOnButton(false); label skipcs2: EndLevel (0); } if (GetFollowMode() != 3) { EndFrame(); goto InPosition; } SetVar (0, GetTime()+700); ExitVehicle (engineer1, convoy_hano, 0x4e); ExitVehicle (engineer2, convoy_hano, 0x55); ExitVehicle (engineer3, convoy_hano, 0x56); SpawnOtherUnit (ambushjack2); SpawnOtherUnit (ambushjack3); label TimeWait: if (GetVar(0) > GetTime()) {EndFrame(); goto TimeWait;} SetFollowWaypoint(45, 0, 0); DespawnOtherUnit (engineer1); DespawnOtherUnit (engineer2); DespawnOtherUnit (engineer3); label End: //if (UnitDead()) // { // ChangeCamera (0x802, 30, 40); // TriggerMessage (22, h22, 0x7804); // // SetButtonJump(); // if (HasJumped()) // goto skipcs3; // WaitForTime(50); // JumpOnButton(false); //label skipcs3: // // EndLevel (0); // } EndFrame(); goto End; endscript; $