C_Map. GetBestMapForUnit
functionimplementedavailable in: camelot
Returns the current UI map for the given unit. Only works for the player and group members.
function C_Map.GetBestMapForUnit( unitToken: string): number?Parameters
| name | type | description |
|---|---|---|
unitToken | string | UnitId |
Returns
uiMapID · number? · UiMapID - Returns the "lowest" map the unit is on. For example, if a unit is in a microdungeon it will return that instead of the zone or continent map.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MapUI system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.