//HothEscape_C state Base { Conditions { if FreePlay == 1 goto NormalUpdate if IAm "Chewbacca" == 1 and if Message "FoundChewy" == 0 goto Chewbacca_Wait if FreePlay == 0 goto NormalUpdate } Actions { } } state NormalUpdate { ReferenceScript { Script=GeneralParty Source=Global ReturnState=NormalUpdate Conditions { } } Conditions { } Actions { FollowPlayer "1" } } state Chewbacca_Wait { Conditions { if NearestPlayerRange < 5 goto FoundChewy if Message "FoundChewy" == 1 goto FoundChewy } Actions { SetTaggable "FALSE" CannotDropIn NotWithParty SnapToLocator "name=Chewbacca" } } state FoundChewy { Conditions { } Actions { SetTaggable CannotDropIn "FALSE" NotWithParty "FALSE" SetMessage "name=FoundChewy" "value=1" SetState "NormalUpdate" } }