Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C PetJournal.SummonPetByGUID

Last wiki revision 2023-08-24

Summons (or dismisses) a pet. C_PetJournal.SummonPetByGUID(petID)

  • petID: - GUID of the battle pet to summon. If the pet is already summoned, it will be dismissed.

You can dismiss the currently-summoned battle pet by running C_PetJournal.SummonPetByGUID(C_PetJournal.GetSummonedPetGUID) Note that this will throw an error if you do not have a pet summoned.

Blizzard has moved all petIDs over to the "petGUID" system, but left all of their functions using the petID terminology (not the petGUID terminology) except for this one. For consistency, the term "petID" should continue to be used.

Source

https://warcraft.wiki.gg/wiki/API_C_PetJournal.SummonPetByGUID · 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.