Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API PlayerLocationMixin IsValid

Last wiki revision 2021-11-20

Indicates the PlayerLocation validly identifies a player. isValid = location:IsValid

  • isValid : - Returns true when appropriate methods have been used to uniquely identify a player; otherwise false.
  • Reasons for returning false include:
  • The mixin was manually prepared and not yet assigned to a player
  • An invalid reference was used, such as a GUID that does not exist
  • A 'relative' reference like a UnitId was used, but currently does not point to a player (ie, "target" while targetting an NPC)

Source

https://warcraft.wiki.gg/wiki/API_PlayerLocationMixin_IsValid · 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.