//TempleB ReferenceScript { Script=FreePlayDefend Source=Global ReturnState=Base Conditions { } } state Base { Conditions { if PlayerUsingForce "big_ball3_a3" == 1 goto UseForceBall4 if PlayerUsingForce "big_ball4_a3" == 1 goto UseForceBall3 if ObstacleChainPhase "door_2" == 2 and if PlayerUsingForce "door_1b" == 1 goto UseForceDoor2 if ObstacleChainPhase "door_1" == 2 and if PlayerUsingForce "door_2b" == 1 goto UseForceDoor1 } Actions { FollowPlayer "0.75" } } state UseForceBall3 { Conditions { if PlayerUsingForce "big_ball4_a3" == 0 goto Base } Actions { GoToLocator "name" "Ball" "1" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "big_ball3_a2" } } state UseForceBall4 { Conditions { if PlayerUsingForce "big_ball3_a3" == 0 goto Base } Actions { GoToLocator "name" "Ball" "1" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "big_ball4_a2" } } state UseForceDoor1 { Conditions { if PlayerUsingForce "door_2b" == 0 goto Base } Actions { GoToLocator "name" "Door" "1" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "door_1b" } } state UseForceDoor2 { Conditions { if PlayerUsingForce "door_1b" == 0 goto Base } Actions { GoToLocator "name" "Door" "1" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "door_2b" } }