WoW:API GetSelectedStablePet: Difference between revisions
Jump to navigation
Jump to search
(New page: {{wowapi}} __NOTOC__ Gets the index of the currently selected pet in the stable. selectedPet = GetSelectedStablePet() == Arguments == :None == Returns == :;selectedPet: Number - Th...) |
m (Move page script moved page API GetSelectedStablePet to API GetSelectedStablePet without leaving a redirect) |
(No difference)
|
Latest revision as of 04:46, 15 August 2023
← 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.