beginscript; label Start: label spt1: if (OtherUnitInArea(FIREJ7, 6681, -1005, 65)) { KillOtherUnit(0x781b); TriggerMessage(9,h9,0xffff); SpawnOtherUnit(spit1); SpawnOtherUnit(spit2); SpawnOtherUnit(spit3); SetVar (0, GetTime()+20); EndFrame(); goto TimeWait; } EndFrame(); goto spt1; label TimeWait: // Wait 2 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait; } EndFrame(); label spt2: // if (OtherUnitInArea(FIREJ7, 6552, -958, 90)) { SpawnOtherUnit(spit4); SetVar (0, GetTime()+10); EndFrame(); goto TimeWait2; } EndFrame(); goto spt2; label TimeWait2: // Wait 2 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait2; } EndFrame(); label spt3: // if (OtherUnitInArea(FIREJ7, 6552, -958, 90)) { SpawnOtherUnit(spit5); SpawnOtherUnit(spit6); SetVar (0, GetTime()+15); EndFrame(); goto TimeWait3; } EndFrame(); goto spt3; label TimeWait3: // Wait 2 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait3; } EndFrame(); label spt4: // if (OtherUnitInArea(FIREJ7, 6552, -958, 90)) { SpawnOtherUnit(spit7); SpawnOtherUnit(spit8); SetVar (0, GetTime()+10); EndFrame(); goto TimeWait4; } EndFrame(); goto spt4; label TimeWait4: // Wait 2 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait4; } EndFrame(); label spt5: // if (OtherUnitInArea(FIREJ7, 6552, -958, 90)) { SpawnOtherUnit(spit9); SetVar (0, GetTime()+10); EndFrame(); goto TimeWait5; } EndFrame(); goto spt5; label TimeWait5: // Wait 2 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait5; } EndFrame(); label spt6: // if (OtherUnitInArea(FIREJ7, 6552, -958, 90)) { SpawnOtherUnit(spit10); SetVar (0, GetTime()+15); EndFrame(); goto TimeWait6; } EndFrame(); goto spt6; label TimeWait6: // Wait 2 seconds if (GetVar(0) > GetTime()) { EndFrame(); goto TimeWait6; } SpawnOtherUnit(0x784b); WaitForTime(10); SpawnOtherUnit(0x784c); WaitForTime(20); SpawnOtherUnit(0x784d); WaitForTime(15); TriggerUnit(0x784b); WaitForTime(10); TriggerUnit(0x784c); WaitForTime(20); TriggerUnit(0x784d); EndFrame(); label End: EndFrame(); goto End; endscript; $