View Single Post
03-20-09, 12:04 PM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by wreck View Post
Ok, I made the modification to the HUD lua, just to understand how to do it. Next I need to figure out how to do the same thing in a Mod. Overriding the original HUD display seems the way to go.

Still learning lua, and I haven't had much time this week to play with it. I need to figure out if it is possible to simply add the element to the existing skin features, or if it will be necessary to override the entire skin.
The easy way is to just add it to the existing skins. That way if I change something else about the skin, your mod won't break.

Look at the aura buttons mod... it will show you how to do it.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/