//SarlaccPit_A state Base { Conditions { if GotOpponent == 1 and if Timer > 3 goto Fight } Actions { ResetTimer Idle "3" GoToOrigin "waittime=10" } } state Fight { Conditions { if GotOpponent == 0 goto Base } Actions { EngageOpponent "goalrange 1.5" "firerange=3" } }