Thread: Map navigation
View Single Post
  #2  
Unread 10-27-2013, 04:43 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 341
Quote:
Originally Posted by Bones
How frustrating and annoying is it that the arrow on the mini-map is telling you the direction your goal is in but it tells you nothing of how to get around this big mountain wall that is between you and the goal. Is there a way someone could make a navigation plugin to calculate to quickest route to a destination or person? Maybe put a line to follow in front of the character on the UI. And maybe you could put an option in there to recalculate the route to avoid high level mob areas. There must be many different ways to get to a destination. Let's just avoid the areas that have mobs that can kill with one hit.

Thank you for your efforts. You have all made this game a little less broken.
Bone.
The information needed to find a path (clear or otherwise) is not available to Lua. We would need access to the terrain data as well as NPC and object location information, none of which is available. Actually, even player location is not available programatically, the best we can do is derive the location and heading info from the chat response to the ;loc chat command (which is how plugins like MoorMap, TerrainMap and Waypoint determine player position and heading).

FWIW, MoorMap does have the ability to display overlays which can be used to show paths, but they are not dynamic and are really intended for tutorials or raid instructions.

Last edited by Garan : 10-27-2013 at 04:47 PM.
Reply With Quote