Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C Map.GetMapPosFromWorldPos

Last wiki revision 2022-12-31

Translates a world map position to a map position. uiMapID, mapPosition = C_Map.GetMapPosFromWorldPos(continentID, worldPosition [, overrideUiMapID])

  • continentID: - InstanceID of the continent
  • worldPosition:
  • overrideUiMapID: - If you don't set this to the map that you want a relative position in, it defaults to the mapID for the player's continent, essentially normalizing world coordinates (i.e. 478.1,598.2) into continent map coordinates (i.e. 0.44,0.61)
  • uiMapID: : UiMapID
  • mapPosition:

Source

https://warcraft.wiki.gg/wiki/API_C_Map.GetMapPosFromWorldPos · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.