//Left hand rocket launcher. state Base { Conditions { if ForceComplete "cannon_dummy_2" == 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_2" == 1 goto Finish if Timer > 1 goto Launch } Actions { UnLockDoor "cannon_2" ResetObstacle "name=cannon_2" OpenDoor "cannon_2" ResetTimer } } state Launch { Conditions { } Actions { LaunchGuidedMissile "from=cannon_2" "dz=-5" SetState "Base" } } state Finish { Conditions { } Actions { } }