How to make NPC's Walk to random Locations in the NavMeshBoundsVolume?

I have gotten my NPC to move when I press “F” and it goes to a TargetPoint

However I want the NPC’s to just walk around to random points on the map when I press “F” for an infinite amount of time.

There are Get Random Point functions under Navigation section(right click and type nav, and you should see all nav mesh related functions) that you can use for this.

And how do I get it to loop so that once it is in a new location is goes to another one?

You need to set a system with a custom event(instead of F input event) so that the custom event fires every time the AI reaches it’s destination.

hmm could you explain a bit more?

Basically something like this:

Let me know if there is anything you dont understand in the graph.

I just made a delay loop and set the amount of seconds :S thank you though!