Skip to content

Instantly share code, notes, and snippets.

@JuJuBoSc
Created May 25, 2017 18:15
Show Gist options
  • Select an option

  • Save JuJuBoSc/c68824a9a7f5d28a2af63a02fcd0b5b0 to your computer and use it in GitHub Desktop.

Select an option

Save JuJuBoSc/c68824a9a7f5d28a2af63a02fcd0b5b0 to your computer and use it in GitHub Desktop.
m_MeshMap = MeshMap.LoadMap(1);
if (m_MeshMap != null)
{
Console.WriteLine("Map loaded !");
int l_TileX, l_TileY;
Maths.WoWMath.GetTile(ObjectManager.ActivePlayer.Position, out l_TileX, out l_TileY);
m_MeshMap.LoadAllTiles();
}
Vector3[] l_Waypoints;
m_MeshMap.FindPath(l_ActivePlayer.Position, l_Target.Position, out l_Waypoints)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment