WoWInterface

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

philipe24 05-18-14 09:52 AM

ArenaEnemyFrame Texture
 
Hello,
I want to write an addon which changes the looking of the standard Blizzard ArenaFrames.
The problem I got is that I dont know how to change the texture of it.
I was looking in "http://wowprogramming.com/utils/xmlbrowser/live/AddOns/Blizzard_ArenaUI/Blizzard_ArenaUI.lua"
but couldnt find a Line where the texture actually gets changed.
I do know the texturesname itself: "UI-ArenaTargetingFrame" but that doesnt help me for some reason.

To make it easy to understand:
This is how I would change the PlayerFrame Texture:
PlayerFrameTexture:SetTexture("Interface\\AddOns\\FrameAddonx\\TargetingFrame\\UI-TargetingFrame")

But what to I need to write to change the ArenaEnemyFrame Texture?
???????:SetTexture("Interface\\AddOns\\FrameAddonx\\TargetingFrame\\UI-TargetingFrame")

Duugu 05-18-14 02:11 PM

I would say it is ArenaEnemyFramexTexture where x is the number of the actual frame.
It's defined in http://wowprogramming.com/utils/xmlb...rd_ArenaUI.xml


All times are GMT -6. The time now is 11:43 PM.

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