What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

A way to uto cage pet

st38

Member
Joined
Oct 11, 2014
Messages
39
Reaction score
0
Hi to all, i tried to find a way to auto cage a pet when i drop it, but i didn't find anything. Someone know a command/plugin to do that? Please hlp me i'm trying to resolve this issue since 2 days :(
 
With Lua your 'command' would be:
PHP:
C_PetJournal.CagePetByID(select(2, C_PetJournal.FindPetIDByName("Orange Tabby Cat")));

In which (select(2,...)) will return the petGUID needed by CagePetByID
And "Orange Tabby Cat" being what you wanted to cage.

Just swap out "Orange Tabby Cat" with whatever pet you want to cage.

As far as existing plugins, I'm not sure of any out there.
But one could be wrote to do it I suppose.

Just be aware that you cannot cage a pet while logged into multiple accounts on the same BNet.
That goes for manually or via the code. It will simply do nothing.
 
Last edited:
Back
Top