//HothEscape_A state InActive { Conditions { if FreePlay == 1 goto Activate if IAm "Chewbacca" == 0 goto Activate if Message "FoundChewy" == 1 goto Activate } Actions { } } state Activate { Conditions { } Actions { Activate ;Activate starts the creature. Will be started at position calculated in AllocatedPickup } } state Base { Conditions { if FreePlay == 1 goto NormalUpdate if IAm "C3PO" == 1 and if Message "FoundC3PO" == 0 goto C3PO_Wait if FreePlay == 0 goto NormalUpdate } Actions { } } state NormalUpdate { ReferenceScript { Script=GeneralParty Source=Global ReturnState=NormalUpdate Conditions { if UnderPlayerControl "troopercannon_1" == 0 } } Conditions { if UnderPlayerControl "troopercannon_1" == 1 goto StandAtSide } Actions { FollowPlayer "1" } } state StandAtSide { Conditions { if UnderPlayerControl "troopercannon_1" == 0 goto NormalUpdate } Actions { GoToLocator "name" "Out_Of_Way" EngageOpponent "static" "firerange 999999" } } state C3PO_Wait { Conditions { if NearestPlayerRange < 1.4 goto FoundC3PO if Message "FoundC3PO" == 1 goto FoundC3PO } Actions { SetTaggable "FALSE" CannotDropIn NotWithParty SnapToLocator "name=C3PO" } } state FoundC3PO { Conditions { } Actions { SetTaggable CannotDropIn "FALSE" NotWithParty "FALSE" SetMessage "name=FoundC3PO" "value=1" SetState "NormalUpdate" } }