Lore archive · Warcraft Wiki, 2023 dump
API C PetBattles.GetSelectedAction
Last wiki revision 2022-08-01
Returns the selected action of a specific pet in the pet battle. selectedActionType, selectedActionIndex = C_PetBattles.GetSelectedAction
- selectedActionType: - 2: Ability, 3: Switch Pet, 4: Trap, 5: Skip turn
- selectedActionIndex: - Returned values are 1-3, corresponding to the ability buttons from left to right.
- - Use an ability
- - Use your trap
- - Change your pet
- - Skip your turn
- Pet Battle Functions
Source
https://warcraft.wiki.gg/wiki/API_C_PetBattles.GetSelectedAction · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.