//This script controls the respawning of zipup troopers on the big platform. state Base { Conditions { if EitherPlayerInTriggerArea "Platform" == 1 and if PartyUnderCover == 0 and if NumInSetAlive "6" < 3 goto GetReadyToSpawn } Actions { ResetTimer } } state GetReadyToSpawn { Conditions { if Timer > 5 goto Spawn } Actions { } } state Spawn { Conditions { if EitherPlayerPullingLever "helmet_1" == 1 goto Base } Actions { CreateCreatures "zipup=zipup_7" "zipup=zipup_8" "zipup=zipup_9" "zipup=zipup_10" "zipup=zipup_11" "type=stormtrooper" "script=SpawnAttack" "AddToSet=6" AlertCreatures "character=player" Idle "mintime=1.5" "maxtime=2.5" CreateCreatures "zipup=zipup_7" "zipup=zipup_8" "zipup=zipup_9" "zipup=zipup_10" "zipup=zipup_11" "type=stormtrooper" "script=SpawnAttack" "AddToSet=6" AlertCreatures "character=player" SetState "Base" } }