View Single Post
  #2  
Old 01-14-2014, 09:08 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

A quick update. Sometimes just writing the question out helps.
I believe I misunderstood the message, and it was saying that there was no LOS from the end vertex to any path node. On further inspection, the Z coord of the destination vertex had been set to -999999.

This was due to FindBestZ not finding a point above ground. FindClosestZ did the trick. Z-fixup was needed to keep the NPC from bouncing around when it neared the waypoint. I used #loc to get the coords of the waypoint, and that might not agree exactly with the terrain.
Reply With Quote