View Single Post
11/09/20, 03:21 AM   #1
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
[open] GetNormalizedWorldPosition

GetNormalized(Raw)WorldPosition(worldX, worldY, worldZ)
or
GetNormalized(Raw)WorldPosition(worldX, worldY, worldZ, *nilable* mapId)
returns normalizedX, normalizedY

(Any better function name is welcome)

Use Case: In LibGPS we abuse the player waypoint to get a second reference point to calculate the current scale of world coordinates to global/universal normalized map positions.
This is used to get the TARDIS factor of dungeons (They are bigger on the inside)

As we have GetUniversallyNormalizedMapInfo now, it would make all this map ping muting obsolete.

Thank You
  Reply With Quote