//EmperorFight_A state Base { Conditions { if InMiniCut == 0 and if Message "SpawnGuards2" == 1 goto SpawnGuards } Actions { } } state SpawnGuards { Conditions { if NumInSetAlive "2" == 0 goto Complete } Actions { CreateCreatures "locator=ImpSpawn2_1" "type=ImperialGuard" "script=ImpGuard" "AddToSet=2" CreateCreatures "locator=ImpSpawn2_2" "type=ImperialGuard" "script=ImpGuard" "AddToSet=2" } } state Complete { Conditions { } Actions { SetMessage "name=SpawnGuards2" "value=0" SetState "Base" } }