wowpedia
Main Menu


Returns the UiMapPoint structure for the currently assigned user waypoint, if one exists.

point = C_Map.GetUserWaypoint()
      = C_Map.GetUserWaypointFromHyperlink(hyperlink)

Arguments

GetUserWaypoint

None

GetUserWaypointFromHyperlink

hyperlink
string? : worldmapLink

Returns

point
UiMapPoint
Key Type Description
uiMapID number uiMapID
position Vector2DMixin🔗
z number?

Example

Dumps the currently set waypoint.

/dump C_Map.GetUserWaypoint()
{
	uiMapID = 84,
	position = {
		y = 0.71433198451996,
		x = 0.63557040691376
	}
}

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Added.