//Left hand rocket launcher. state Base { Conditions { if ForceComplete "cannon_dummy_1" == 1 goto Finish if Timer > 5 and if EitherPlayerInTriggerArea "Area1" == 1 goto OpenBombHatch if Timer > 5 goto Base } Actions { ResetTimer } } state OpenBombHatch { Conditions { if ForceComplete "cannon_dummy_1" == 1 goto Finish if Timer > 2 goto Launch } Actions { UnLockDoor "cannon_1" ResetObstacle "name=cannon_1" OpenDoor "cannon_1" ResetTimer } } state Launch { Conditions { } Actions { LaunchGuidedMissile "from=cannon_1" "dz=-5" SetState "Base" } } state Finish { Conditions { } Actions { } }