//MosEisley_B //WompRatAlley state Base { Conditions { if MissionMode == 1 goto MissionMode if PickUpEnabled "2" == 0 and if Message "NumRatsKilled" > 9 goto EnableMiniKit if TakenOver "moscannon_1" == 1 and if Timer > 3 and if NumInSetAlive "4" < 3 goto SpawnRats if TakenOver "moscannon_2" == 1 and if Timer > 3 and if NumInSetAlive "4" < 3 goto SpawnRats ;if Debug == 4 goto EnablePickup //Removed as no valid state } Actions { ResetTimer "mintime=1" "maxtime=2" } } state SpawnRats { Conditions { } Actions { CreateCreatures "locator_group=RatSpawn" "type=WompRat" "script=AlleyWompRat" "addtoset=4" SetState "Base" } } state EnableMiniKit { Conditions { } Actions { EnablePickup "2" SetState "Base" } } state MissionMode { Conditions { } Actions { } }