//MosEisley_B state Base { Conditions { } Actions { IgnoreWallSplines GetLocatorFromGroup "name=RatAlley" "random" SetState "GoToLocator" } } state GoToLocator { Conditions { if TakenOver "moscannon_1" == 0 and if TakenOver "moscannon_2" == 0 goto GoToExit } Actions { GoToLocator "0.5" "xz_rangecheck" SetState "Base" } } state GoToExit { Conditions { } Actions { GetLocatorFromGroup "name=RatSpawn" GoToLocator Kill } } state BeenKilled { Conditions { } Actions { SetMessage "name=NumRatsKilled" "increment=1" AddGameMsgCount "mypos" "messageval=NumRatsKilled" "Total=10" "Red=255" "Green=0" "Blue=0" } }