Returns information about a specific stabled pet.
petIcon, petName, petLevel, petType, petTalents = GetStablePetInfo(index)
- Arguments
- (index)
- 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, petName, petLevel, petType, petTalents)
- 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.
- Description
- Returns information on the specified stabled pet. All active and stabled pets are accessible from anywhere.