View Single Post
Unread 10-12-10, 10:23 AM   #1
toddimer
A Deviate Faerie Dragon
 
toddimer's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 18
UnitCreatureFamily translations?

Hey all,

I'm interested in tracking the type of pet my character & party has summoned. Sadly, UnitCreatureFamily currently returns a localized pet. I haven't found an easy way to track, say, if the warlock in the party is using an imp vs a voidwalker, or a hunter using a Devilsaur vs a Wolf. I also couldn't find the translations in the WotLK global strings table.

Is there a library out in the wild, containing the translations for pet families? Or barring that, some other way to identify the type of pet a party member has summoned?

For reference, here's the function I've used:
http://wowprogramming.com/docs/api/UnitCreatureFamily

I had my addon contributors translate the warlock pet families...but the hunter pet families will probably be harder :/
toddimer is offline