I’m having trouble with a random waypoint navigation system I’m working on through Blueprint. The AI in the level is supposed to find a random location based on an array of defined waypoints I have set up, then navigate to them and wait there for a bit. He successfully chooses new waypoints but he entirely ignores the wait prompt. Also problematic is every time I run the simulation, he will return a null value from the array in the pathfinder function I have defined. Not every time but sometimes. I suspect it’s because the function will fire before the value has time to get there but I’m not sure how to tide that using flow control or branch/valid nodes. I’ve posted the parts of the code below that are giving me trouble.
I’m extremely new to this so any help would be greatly appreciated