Lore archive · Warcraft Wiki, 2023 dump
API PlayerLocation CreateFromUnit
Last wiki revision 2021-11-20
Identifies any player having a UnitId. location = PlayerLocation:CreateFromUnit(unit) location:SetUnit(unit)
- unit : - UnitId such as "target".
- location : - New PlayerLocationMixin.
- Use the first function to create a new table pointing to the player, or the second to reassign an existing table to that player.
Source
https://warcraft.wiki.gg/wiki/API_PlayerLocation_CreateFromUnit · 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.