API:PartnerFrame CallPartner

Summons or returns a partner from the PartnerBag.
PartnerFrame_CallPartner(tab, index);
== Parameters ==
=== Arguments ===
tab - is 1 for pets and 2 for mounts
index - is the pet's number in the list below the pet preview
=== Returns ===
nil
== Example Code ==
/script PartnerFrame_CallPartner(1, 3);
Will call the 3rd pet in the list. Having the PartnerFrame shown lefte it would call the red frog.
Category:Functions