UnitIsOtherPlayersBattlePet

From Warcraft Wiki
Jump to navigation Jump to search

Returns if the unit is a battle pet summoned by another player.

isOther = UnitIsOtherPlayersBattlePet(unit)

Arguments

unit
string : UnitId

Returns

isOther
boolean

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.[1]

References

  1. ^ 2012-08-21, TargetFrame.lua, version 5.0.4.16016, near line 811, archived at Townlong-Yak