Thread Tools Display Modes
12-11-07, 09:50 AM   #1
Tatheltek
A Cyclonian
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 43
Player Portraits

I downloaded the Interface art from http://www.worldofwarcraft.com/ui/ to have a look around and found all the temporary player portrait files but was wondering how you would call for the actual image of the a player if you wanted to display if on screen. I'm just now starting to explore more advanced xml so if this is an obvious answer sry =)
  Reply With Quote
12-11-07, 09:57 AM   #2
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
I would have thought WoWWiki would do it, not certain though.
  Reply With Quote
12-11-07, 10:19 AM   #3
Tatheltek
A Cyclonian
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 43
It looks like I can use Frame:SetPortraitTexture(portrait, unit) to change the texture of whatever frame I've made, but its undefined on wowwiki.

This appears to be what Pitbull uses to set the players 2D portrait.
  Reply With Quote
12-11-07, 12:03 PM   #4
Tatheltek
A Cyclonian
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 43
Anyone know if i can use "SetTimeVisible" for a button the same way as for a message frame? I want to show an icon on screen when an event occurs but then have it fade away after a few seconds...
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Player Portraits


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