Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetSelectedStablePet

From Wowpedia
Jump to: navigation, search

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

selectedPet = GetSelectedStablePet()

Arguments

None

Returns

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.

Patch changes