//FactoryD ReferenceScript { Script=FreePlayDefend Source=Global ReturnState=Base Conditions { } } state Base { Conditions { if InTriggerArea "InPot" == 1 goto DoNothing } Actions { FollowPlayer "0.75" } } state DoNothing { Conditions { if InTriggerArea "InPot" == 0 goto Base } Actions { Idle } }