WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Player Portraits (https://www.wowinterface.com/forums/showthread.php?t=14018)

Tatheltek 12-11-07 09:50 AM

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 =)

Slakah 12-11-07 09:57 AM

I would have thought WoWWiki would do it, not certain though.

Tatheltek 12-11-07 10:19 AM

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.

Tatheltek 12-11-07 12:03 PM

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...


All times are GMT -6. The time now is 05:26 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI