//MosEisley_A state InActive { Conditions { if FreePlay == 1 goto Activate ///////////MetObiAndChewy == 0 Not yet met Han and Chewy/////////////// if Message "MetObiAndChewy" == 0 and if IAm "LukeSkywalker_Tatooine" == 1 goto Activate if Message "MetObiAndChewy" == 0 and if IAm "BenKenobi" == 1 goto Activate if Message "MetObiAndChewy" == 0 and if IAm "R2D2" == 1 goto Activate if Message "MetObiAndChewy" == 0 and if IAm "C3PO" == 1 goto Activate ///////////MetObiAndChewy == 2 Just Han And Chewy/////////// if Message "MetObiAndChewy" == 1 and if IAm "Chewbacca" == 1 goto Activate if Message "MetObiAndChewy" == 1 and if IAm "HanSolo" == 1 goto Activate } Actions { } } state Activate { Conditions { } Actions { Activate ;Activate starts the creature. Will be started at position calculated in AllocatedPickup } } state Base { ReferenceScript { Script=GeneralParty Source=Global ReturnState=Base Conditions { } } Conditions { if InContext "FORCEDBACK" == 1 goto ForceBackWait } Actions { ReleaseLocator FollowPlayer "1" } } state ForceBackWait { Conditions { if FreePlay == 1 goto SwitchToNonDroid if ForceComplete "spark1" == 1 and if ForceComplete "spark2" == 1 and if ForceComplete "spark3" == 1 and if ForceComplete "spark4" == 1 goto Base if PlayerInTriggerArea "ForceField" == 1 goto Base } Actions { GetLocatorFromGroup "name=ForceBackWait" GoToLocator FacePlayer "mintime=10" "maxtime=15" SetState "Base" } } state SwitchToNonDroid { Conditions { if CategoryIs "Astromech" == 0 and if CategoryIs "Protocol" == 0 goto Base } Actions { CycleCharacter "time=0.5" "Category=Blaster" } }