Randomize RichAI path with set destination


I would like to randomize my path with the set destination function. I usually call setdestination in the update, but I feel like doing this with randomization would constantly randomize the current path. I could really use an example of a rich AI that constantly chases the Player with a random path.


Do you need me to show code examples of how I am currently setting my destination?

It’s hard to say what kind of randomization you want. Maybe change the destination every second or two instead?