In GTA5 RagePluginHook we could use World.GetRandomPositionOnStreet(), and I was wondering if anyone new of a way to do this in RDR2.
I thought about using native methods, such as the "GET_CLOSEST_ROAD" native, to cobble-together a solution, but I was met with a rage crash and the log file telling me that it attempts to read or write protected memory, and therefore throws an access violation.
I'm trying to create a basic script to spawn someone in a carriage some distance away, and have them drive to the player. Currently I have them, the carriage, and the horses spawning correctly, they all hitch up and get in the driver's seat, but they continuously get spawned into a tree or rock or some such and are unable to follow through on the driver's task to "DriveToPosition"
Has anyone tried to do something similar to this that could offer some insight?