beginscript; label Start: if (GetState() != 1) { EndFrame(); goto Start; } ExcludeUTarget (0x6c01); IncludeUTarget (0x7833); SetFollowWaypoint (west, 0, 0); label InPosition: if (GetFollowMode() != 3) { if (UnitDead() == 1) { if (GetGlobalVar (4) == 1) { TriggerMessage (2, 0xffff, 0xffff); SetHUDTarget (miss1); EndFrame(); goto End; } if (GetGlobalVar (4) == 2) { SetHUDTarget (miss3); TriggerMessage (2, 0xffff, 0xffff); EndFrame(); goto End; } if (GetGlobalVar (4) == 3) { SetHUDTarget (miss2); TriggerMessage (2, 0xffff, 0xffff); EndFrame(); goto End; } if (GetGlobalVar (4) == 4) { SetHUDTarget (miss6); TriggerMessage (2, 0xffff, 0xffff); EndFrame(); goto End; } if (GetGlobalVar (4) == 5) { SetHUDTarget (miss4); TriggerMessage (2, 0xffff, 0xffff); EndFrame(); goto End; } if (GetGlobalVar (4) == 6) { SetHUDTarget (miss5); TriggerMessage (2, 0xffff, 0xffff); EndFrame(); goto End; } } EndFrame(); goto InPosition; } SpawnOtherUnit (triwes); SetGlobalVar (3, 1); ChangeCamera (0x80d, 30, 40); PausePlayer (); SetFollowWaypoint (weshome, 0, 0); SetButtonJump(); if (HasJumped()) goto skipcs1; WaitForTime(20); JumpOnButton(false); label skipcs1: ResumePlayer (); ChangeCamera (0x801, 30, 40); if (GetGlobalVar (4) == 1) { SetHUDTarget (miss1); EndFrame(); goto End; } if (GetGlobalVar (4) == 2) { SetHUDTarget (miss3); EndFrame(); goto End; } if (GetGlobalVar (4) == 3) { SetHUDTarget (miss2); EndFrame(); goto End; } if (GetGlobalVar (4) == 4) { SetHUDTarget (miss6); EndFrame(); goto End; } if (GetGlobalVar (4) == 5) { SetHUDTarget (miss4); EndFrame(); goto End; } if (GetGlobalVar (4) == 6) { SetHUDTarget (miss5); EndFrame(); goto End; } DespawnUnit(); label End: EndFrame(); goto End; endscript; $