Icon texture instead of box
I am working on an addon that gices a warning to drain souls. I am pulling some different code together.
I have
function ExecuteWarning_OnLoad()
ExecuteWarning_BuffFrame:Show();
ExecuteWarning_BuffFrame:SetAttribute('type', 'spell')
ExecuteWarning_BuffFrame:SetAttribute('spell', "Drain Soul")
getglobal(ExecuteWarning_BuffFrame:GetName().."_Text"):SetText( "Loaded!" );.
This allows me to take the previous text warning and turn it into a button that can be clicked to drain soul.
I have found the physical dimension in the XML file.
If I wanted to have a Soul Shard icon instead of the box, how do I change the texture? If it is a root path and you do not know it you can write the first part Interface/*** and I will hunt it out.
When I try to change the texture in xml or lua I just get errors. 8 (
Rhamses
|