//Negotiations B ReferenceScript { Script=FreePlayDefend Source=Global ReturnState=Base Conditions { } } state Base { Conditions { if EitherPlayerOnObject "trolley" == 1 goto UseForceOnTrolley } Actions { FollowPlayer "0.75" } } state UseForceOnTrolley { Conditions { if EitherPlayerOnObject "trolley" == 0 goto Base } Actions { GoToLocator "name" "Use_Trolley" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "trolley" } }