Jaksuhn / SomethingNeedDoing

39 stars 30 forks source link

Adds a command that lets you get the coordinates of a minimap gather marker #178

Closed OhKannaDuh closed 1 month ago

OhKannaDuh commented 1 month ago

Let's you grab markers that appear on the minimap as 'special' nodes, such as unspoiled or legendary. Combine with QueryMeshPointOnFloorY to get a vector 3 of where to navigate to:

local marker = GetActiveMiniMapGatheringMarker()
local y = QueryMeshPointOnFloorY(marker[0], 1024, marker[1], false, 1);

yield("/vnavmesh flyto " .. marker[0] .. " " .. y .. " " .. marker[1])
oorzkws commented 1 month ago

Thank you, I was about to submit the same PR.