Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

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

isCompanion = UnitIsBattlePetCompanion(unit)

Arguments[]

unit
string : UnitId

Returns[]

isCompanion
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 257, archived at Townlong-Yak
Advertisement