//Vader A state Base { Conditions { if Message "InControlRoom" == 1 goto InControlRoom } Actions { GoToOrigin FaceCamera "1" GoToLocator "name" "End_Corridor" } } state InControlRoom { Conditions { if PlayerUsingForce "bolt_1" == 1 goto UseForce_RightBolt if PlayerUsingForce "bolt_2" == 1 goto UseForce_LeftBolt } Actions { FollowPlayer "0.75" } } state UseForce_RightBolt { Conditions { if PlayerUsingForce "bolt_1" == 0 goto InControlRoom } Actions { GoToLocator "name" "right_bolt" UseForce "bolt_2" } } state UseForce_LeftBolt { Conditions { if PlayerUsingForce "bolt_2" == 0 goto InControlRoom } Actions { GoToLocator "name" "left_bolt" UseForce "bolt_1" } }