Quantcast How to get itemid of pet cage from pet id - WoWInterface
Thread Tools Display Modes
01-07-20, 06:34 AM   #1
Burninator47
A Defias Bandit
Join Date: Jan 2020
Posts: 2
How to get itemid of pet cage from pet id

I'm having trouble with a couple of addons not working with battlepets, because they're classified as pets and not items, so the id I get returned is the pet id.

So, how do I get the item id of the pet cage based on the pet id?
  Reply With Quote
01-07-20, 04:57 PM   #2
Kanegasi
A Scalebane Royal Guard
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 432
The pet cage item ID is 82800. There's only one pet cage.
  Reply With Quote
01-07-20, 08:42 PM   #3
Burninator47
A Defias Bandit
Join Date: Jan 2020
Posts: 2
Thanks, I thought there was an item id for each caged pet to go along with the pet id, but that's not how it works.

I did manage to fix the problem I was having. It turned out to be simpler than I thought. It was just a logic oversight.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » How to get itemid of pet cage from pet id

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off