beginscript; label timer: if (GetGlobalVar (6) == 1 && GetGlobalVar (7) == 1 && GetGlobalVar (5) == 1) { // TriggerMessage(10,0xffff,0xffff); // get back to base in x ammount of time SetVar(0, GetTime()+1200); // give you 1 min to get back to start SetGlobalVar(2,0); // when you get back set glob var to 2,1 , and level won //SpawnOtherUnit(0x7001); //SpawnOtherUnit(0x7002); //SpawnOtherUnit(0x7003); //SpawnOtherUnit(0x7004); //SpawnOtherUnit(0x7005); EndFrame(); goto TimeWait; } EndFrame(); goto timer; label TimeWait: if (PlayerInArea(335,5564,100)) { EndFrame(); goto leg; } if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait; } label LevelLost: EndLevel(0); TriggerMessage(22,0xffff,0xffff); EndFrame(); goto End; label leg: if (PlayerInArea(335,5564,100)) // if player back at base { SetGlobalVar(2, 1); // when you get back set glob var to 9, and level won } label End: EndFrame(); goto End; endscript; $