Lore archive · Warcraft Wiki, 2023 dump
API UnitGUID
Last wiki revision 2022-08-01
Returns the GUID of the unit. guid = UnitGUID(unit)
- unit: : UnitId - For example or
- guid: : GUID - A string containing (hexadecimal) values, delimited with hyphens. Returns if the unit does not exist.
Prints the target's GUID, in this case a creature.
Prints the npc/player ID of a unit, if applicable.
Source
https://warcraft.wiki.gg/wiki/API_UnitGUID · 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.