//SarlaccPit_A state Base { Conditions { if BeenHit == 1 goto Fight if EitherPlayerInTriggerArea "Boba" == 1 goto StartFight } Actions { SetDoomedEscapeLocator "name=Boba_Fight_0" } } state Fight { Conditions { } Actions { EngageOpponent "goalrange 1.5" "firerange=3" } } /*************** BOBA FIGHT ****************/ state StartFight { Conditions { } Actions { DontPush SetInvulnerable "FALSE" PrefersPlayers SetMessage "name=BobaFightStarted" "value=1.0" CameraCut "range=3" "end_time=3" "tgt_character=myself" "FollowTgt" "roty=0" "rotx=10" "blend_in_time=0.5" "blend_out_time=0.5" Idle "3" SetState "HoverToLocator" } } state HoverToLocator { Conditions { if BeenHit == 1 and if Timer > 0.4 goto Fall if Timer > 10 goto HoverToLocator } Actions { ResetTimer SetInvulnerable GetLocatorFromGroup "name=boba_fight" "random" SetHoverPhase GoToLocator EngageOpponent "static" "firerange 99" } } state Fall { Conditions { if BeenHit == 1 and if Timer > 0.2 goto HoverToLocator if Timer > 5 goto HoverToLocator } Actions { ResetTimer SetInvulnerable "FALSE" SetHoverPhase "FALSE" OverrideAnimation "from=all" "to=takehit" EngageOpponent "goalrange 1.5" "firerange=3" } } state ThrowGranade { Conditions { if BeenHit == 1 goto Fall } Actions { //PressSpecialButton ThrowThermal SetState "HoverToLocator" } } /*************** BOBA FIGHT END ****************/ state BeenKilled { Conditions { } Actions { TriggerBlowUp "name=boba_pop" SetMessage "name=Boba_Dead" "value=1" SetMessage "name=BobaFightStarted" "value=0.0" PlayCutScene "name=sarlaccpit_midtro2" } }