//FactoryF ReferenceScript { Script=FreePlayDefend Source=Global ReturnState=Base Conditions { if CategoryIs "Astromech" == 0 } } state Base { Conditions { if InTriggerArea "maze" == 1 goto InMaze } Actions { FollowPlayer "1.5" } } state InMaze { Conditions { if InTriggerArea "maze" == 0 goto Base } Actions { FacePlayer } }