//RetakeD ReferenceScript { Script=GenericDefend Source=Global ReturnState=Base Conditions { } } state Base { Conditions { if CategoryIs "Jedi" == 1 goto JediUpdate if PreviousResult == 0 goto NormalUpdate } Actions { } } state NormalUpdate { Conditions { } Actions { FollowPlayer "1.5" } } state JediUpdate { Conditions { } Actions { FollowPlayer "0.75" } }