Thread Tools Display Modes
05-18-14, 09:52 AM   #1
philipe24
A Deviate Faerie Dragon
Join Date: Jan 2014
Posts: 10
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")
  Reply With Quote
05-18-14, 02:11 PM   #2
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
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
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » ArenaEnemyFrame Texture


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