//This script controls the respawning of creatures in the 2nd corrider on the zipup state Base { Conditions { if EitherPlayerInTriggerArea "Spawn_2" == 1 and if EitherPlayerPullingLever "helmet_1" == 0 and if PartyUnderCover == 0 and if NumBaddiesThatCanSeePlayers < 2 goto GetReadyToSpawn } Actions { ResetTimer } } state GetReadyToSpawn { Conditions { if EitherPlayerPullingLever "helmet_1" == 1 goto Base if Timer > 5 goto Spawn } Actions { } } state Spawn { Conditions { if EitherPlayerPullingLever "helmet_1" == 1 goto Base } Actions { CreateCreatures "zipup=resporn_zipup_1" "type=tiefighterpilot" "script=SpawnAttack" AlertCreatures "character=player" Idle "mintime=1.5" "maxtime=2.5" CreateCreatures "zipup=resporn_zipup_1" "type=tiefighterpilot" "script=SpawnAttack" AlertCreatures "character=player" SetState "Base" } }