Created
May 25, 2017 18:15
-
-
Save JuJuBoSc/c68824a9a7f5d28a2af63a02fcd0b5b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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