At the moment the key piece that is missing for me is the implementation of GetPlayerMapPosition. And using UnitPosition gives me values that are not percentage ranges within the map, but seem to be absolute points on the map. If only we could get the map dimensions we could probably simulate GetPlayerMapPosition well.
On a side note, it looks like C_Map.GetBestMapForUnit('player') is not ready early on in startup because nil is being returned.
|