//JabbasPalace_A state InActive { Conditions { if FreePlay == 1 goto Activate if IAm "HanSolo_skiff" == 0 and if IAm "C3PO" == 0 and if IAm "R2D2" == 0 goto Activate if IAm "R2D2" == 1 and if Message "Rescued_R2D2" == 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 == 0 and if IAm "LukeSkywalker_Jedi" == 1 and if Message "FoundLuke" == 0 goto Luke_Wait if AlwaysTrue == 1 goto Update } Actions { } } state Update { ReferenceScript { Script=GeneralParty Source=Global ReturnState=Update Conditions { } } Conditions { } Actions { FollowPlayer "1" } } /////////////Luke////////// state Luke_Wait { Conditions { if DoorOpened "Door_4_1" == 1 goto FoundLuke } Actions { SetTaggable "FALSE" NotWithParty CannotDropIn SnapToLocator "name=Luke" } } state FoundLuke { Conditions { } Actions { SetTaggable NotWithParty "FALSE" CannotDropIn "FALSE" SetMessage "name=FoundLuke" "value=1" SetState "Base" } }