//Sarlatt_C state Base { ReferenceScript { Script=GeneralParty Source=Global ReturnState=Base Conditions { if InTriggerArea "Pull_Lever" == 0 and if InTriggerArea "Tunnel1" == 0 } } Conditions { if InTriggerArea "Pull_Lever" == 1 and if ObstacleAtStart "lever_gate" == 1 goto PullLever if InTriggerArea "Tunnel1" == 1 and if ForceComplete "stand_1" == 1 goto GoToLift4 if InTriggerArea "Tunnel1" == 1 and if ForceComplete "stand_2" == 1 goto GoToLift3 } Actions { FollowPlayer "0.75" "add_party_offset" } } state PullLever { Conditions { if ObstacleAtStart "lever_gate" == 0 goto Base } Actions { GoToLocator "name" "Pull_Lever" "waittime=1" CycleCharacter "time=0.5" "Category=Jedi" "Category=Blaster" PressSpecialButton Idle "1" SetState "Base" } } state GoToLift4 { Conditions { if InTriggerArea "Tunnel1" == 0 goto Base } Actions { GoToLocator "name" "Lift4" SetState "GoToLift4" } } state GoToLift3 { Conditions { if InTriggerArea "Tunnel1" == 0 goto Base } Actions { GoToLocator "name" "Lift3" SetState "GoToLift3" } }