state Base { Conditions { } Actions { DontSetStoppedFlag SetState "Update" } } state Update { Conditions { if InTriggerArea "bank_1" == 0 and if InTriggerArea "bank_2" == 0 and if InTriggerArea "Bridge" == 0 and if NearestPlayerXZRange > 5 goto Drift } Actions { } } state Drift { Conditions { if NearestPlayerXZRange < 3 goto JustBeenTakenOver } Actions { SetRunSpeed "default" SetRunSpeed "multiply=0.1" FollowPlayer "1" "can_go_off_path" } } state JustBeenTakenOver { Conditions { } Actions { SetRunSpeed "clear" SetState Update } }