//MaulE ;ReferenceScript { ; Script=Jedi ; Source=Global ; ReturnState=Base ; Conditions { ; } ;} state Base { Conditions { /////////1st door////////////// if DoorOpen "laser_01_c" == 0 and if PlayerUsingForce "pot_shot8" == 1 goto UseForce_pot_shot if DoorOpen "laser_01_c" == 0 and if PlayerUsingForce "pot_shot" == 1 goto UseForce_pot_shot8 /////////2nd door////////////// if DoorOpen "laser_02_c" == 0 and if PlayerUsingForce "pot_shot9" == 1 goto UseForce_pot_shot1 if DoorOpen "laser_02_c" == 0 and if PlayerUsingForce "pot_shot1" == 1 goto UseForce_pot_shot9 /////////3rd door////////////// if DoorOpen "laser_04_c" == 0 and if PlayerUsingForce "pot_shot10" == 1 goto UseForce_pot_shot2 if DoorOpen "laser_04_c" == 0 and if PlayerUsingForce "pot_shot2" == 1 goto UseForce_pot_shot10 /////////4th door////////////// if DoorOpen "laser_06_c" == 0 and if PlayerUsingForce "pot_shot11" == 1 goto UseForce_pot_shot3 if DoorOpen "laser_06_c" == 0 and if PlayerUsingForce "pot_shot3" == 1 goto UseForce_pot_shot11 } Actions { FollowPlayer "0.75" } } /////////1st door////////////// state UseForce_pot_shot { Conditions { if DoorOpen "laser_01_c" == 1 goto Base if PlayerUsingForce "pot_shot8" == 0 goto Base } Actions { GoToLocator "name" "pot_shot" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot" } } state UseForce_pot_shot8 { Conditions { if DoorOpen "laser_01_c" == 1 goto Base if PlayerUsingForce "pot_shot" == 0 goto Base } Actions { GoToLocator "name" "pot_shot8" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot8" } } /////////2nd door////////////// state UseForce_pot_shot1 { Conditions { if DoorOpen "laser_02_c" == 1 goto Base if PlayerUsingForce "pot_shot9" == 0 goto Base } Actions { GoToLocator "name" "pot_shot1" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot1" } } state UseForce_pot_shot9 { Conditions { if DoorOpen "laser_02_c" == 1 goto Base if PlayerUsingForce "pot_shot1" == 0 goto Base } Actions { GoToLocator "name" "pot_shot9" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot9" } } /////////3rd door////////////// state UseForce_pot_shot2 { Conditions { if DoorOpen "laser_04_c" == 1 goto Base if PlayerUsingForce "pot_shot10" == 0 goto Base } Actions { GoToLocator "name" "pot_shot2" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot2" } } state UseForce_pot_shot10 { Conditions { if DoorOpen "laser_04_c" == 1 goto Base if PlayerUsingForce "pot_shot2" == 0 goto Base } Actions { GoToLocator "name" "pot_shot10" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot10" } } /////////4th door////////////// state UseForce_pot_shot3 { Conditions { if DoorOpen "laser_06_c" == 1 goto Base if PlayerUsingForce "pot_shot11" == 0 goto Base } Actions { GoToLocator "name" "pot_shot3" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot3" } } state UseForce_pot_shot11 { Conditions { if DoorOpen "laser_06_c" == 1 goto Base if PlayerUsingForce "pot_shot3" == 0 goto Base } Actions { GoToLocator "name" "pot_shot11" CycleCharacter "time=0.5" "Catagory=Jedi" UseForce "pot_shot11" } }