beginscript; //When driver drives into smoke (trigger) triangulator is dropped and the HUD is set to turn to the church segment (part 20 label Start: SetGlobalVar(4, 0); label check: if ( PlayerInArea(6811, 6519, 20) ) { PausePlayer(); SpawnOtherUnit(0x7826); // SetGlobalVar(4, 1); // trigger hud change DisableEmitter(); goto camtrig; } EndFrame(); goto check; label camtrig: ChangeCamera(0x80c,30,30); // ChangeCamOnButton(0x80c,30,30); SetVar (0, GetTime()+30); TriggerMessage(2,h2,0xffff); // TriggerMessage(8,0xffff,0xffff); label timewait: if (GetVar(0) > GetTime()) { EndFrame(); goto timewait; } label killed: if ( OtherUnitInArea(0x7826,6811,6515,50) && OtherUnitDead(0x7805) && OtherUnitDead(0x7809) && OtherUnitDead(0x780a) && OtherUnitDead(0x780b) && OtherUnitDead(0x7812) && OtherUnitDead(0x7814) ) { SetGlobalVar(4, 1); EndFrame(); goto help; } EndFrame(); goto killed; label help: if ( GetGlobalVar (4) == 1 ) { SpawnOtherUnit(0x700d); SpawnOtherUnit(0x782e); TriggerUnit(0x700d); TriggerUnit(0x782e); ChangeCamera(0x810,30,30); WaitForTime(110); EndFrame(); goto doh1; } EndFrame(); goto help; label doh1: if ( GetGlobalVar (4) == 1 ) { // change camera back TriggerUnit(0x7850); ChangeCamera(0x811,30,30); WaitForTime(30); EndFrame(); goto doh; } EndFrame(); goto doh1; label doh: if ( GetGlobalVar (4) == 1 ) { // change camera back ChangeCamera(0x801,30,30); ResumePlayer(); TriggerMessage(3,h3,0xffff); TriggerUnit(0x7804); DespawnOtherUnit(0x700d); DespawnOtherUnit(0x782e); EndFrame(); goto End; } EndFrame(); goto doh; label End: EndFrame(); goto End; endscript; $