right now I'm using the "find path to (waypoint.x,waypoint.y)
What would I use to set it up, to find the path to the waypoint that's the closest currently?
Develop games in your browser. Powerful, performant & highly capable.
pick nearest waypoint to unit.x, unit.y (it is under the waypoint's events): find path to waypoint.x, waypoint.y