Wowpedia

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

READ MORE

Wowpedia
Register
Advertisement

Returns info for a specific stabled pet.

petIcon, petName, petLevel, petType, petTalents = GetStablePetInfo(index)

Arguments[]

index
number - The index of the pet slot, 1 through 5 are the hunter's active pets, 6 through 25 are the hunter's stabled pets.

Returns[]

petIcon
string - The path to texture to use as the icon for the pet, see GetPetIcon().
petName
string - The pet name, see UnitName().
petLevel
number - The pet level, see UnitLevel().
petType
string - The localized pet family, see UnitCreatureFamily().
petTalents
string - The pet's talent group.
Advertisement