//KashyyykD ReferenceScript { Script=FreePlayDefend Source=Global ReturnState=Base Conditions { if InTriggerArea "Boulders" == 0 } } state Base { Conditions { if DoorOpened "ball_stop" == 0 and if InTriggerArea "Boulders" == 1 goto BoulderSection if EitherPlayerOnDoorTrigger "pad_gate" == 1 goto GoToDoorTrigger } Actions { FollowPlayer "0.75" } } state GoToDoorTrigger { Conditions { if DoorOpened "ball_stop" == 0 and if InTriggerArea "Boulders" == 1 goto BoulderSection if EitherPlayerOnDoorTrigger "pad_gate" == 0 goto Base } Actions { GoToDoorTrigger "name" "pad_gate" } } state BoulderSection { Conditions { if DoorOpened "ball_stop" == 1 goto Base if InTriggerArea "Boulders" == 0 goto Base } Actions { BoulderSection "boulder_range=1" "attack_time=1" "1" } }