Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-02-21, 08:19 PM   #1
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Getting pet details from a petGUID

Hi all

I am trying to get pet details from a cursor drop onto a button.

For the pet I have been testing with the Lil' XT;
Lua Code:
  1. cursorType, petGUID = GetCursorInfo()
  2. print(cursorType, petGUID)
  3. --  resulting print -- battlepet BattlePet-0-0000003D1B7D
The issue I am having is that I cannot seem to find a function that uses the petGUID to get all the pet details.

Is there a way of getting all the pet details using the petGUID?
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Getting pet details from a petGUID


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