Wikia

WoWWiki

API GetSelectedStablePet

Talk0
102,215pages on
this wiki
WoW API < GetSelectedStablePet


Gets the index of the currently selected pet in the stable.

selectedPet = GetSelectedStablePet()


Arguments Edit

None


Returns Edit

selectedPet
Number - The index of the currently selected pet slot, 0 being the current pet, 1 and 2 being the left and right slots, and -1 for when no pet is selected.

Around Wikia's network

Random Wiki