//CruiserE ReferenceScript { Script=FreePlayDefend Source=Global ReturnState=Base Conditions { } } state Base { Conditions { if EitherPlayerUsingForce "switch_2_1" == 1 goto UseValve if EitherPlayerUsingForce "valve_2_1" == 1 goto UseSwitch } Actions { FollowPlayer "0.75" } } state UseValve { Conditions { if EitherPlayerUsingForce "switch_2_1" == 0 goto Base } Actions { CycleCharacter "time=0.5" "Catagory=Jedi" GoToLocator "name" "valve" "0.75" UseForce "valve_2_1" } } state UseSwitch { Conditions { if EitherPlayerUsingForce "valve_2_1" == 0 goto Base } Actions { CycleCharacter "time=0.5" "Catagory=Jedi" GoToLocator "name" "valve" "0.75" UseForce "switch_2_1" } }