Thread Tools Display Modes
Unread 08-01-09, 02:37 PM   #1
neuralassassin
A Scalebane Royal Guard
 
neuralassassin's Avatar
Join Date: Sep 2008
Posts: 423
Quick Question

Scott I was trying to see if that right click self cast mod RightWing could be ported over to work with nUI, its just six lines of code setting the blizzard bars
Code:
MainMenuBarArtFrame:SetAttribute("unit2", "player"); 
MultiBarLeft:SetAttribute("unit2", "player");
MultiBarRight:SetAttribute("unit2", "player");
MultiBarBottomLeft:SetAttribute("unit2", "player");
MultiBarBottomRight:SetAttribute("unit2", "player");
BonusActionBarFrame:SetAttribute("unit2", "player");
Guess what I am asking is the only reason it doesn't work because the action bars are renamed or are there further changes to the action bars in nUI that will prevent it? I tried renaming them with nUIMainBar, nUIBottomLeftBar and so on but it didn't work
__________________


Last edited by neuralassassin : 08-01-09 at 02:39 PM.
neuralassassin is offline  
Unread 08-01-09, 04:10 PM   #2
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,783
This may seem silly as I don't understand lua well at all, but what about changing the name of Rightwing so that it loads prior to nUI in the addon list. That way in theory it may work by nUI applying it's changes after Rightwing has loaded.

Just an uninformed random thought

***EDIT*** I tried it and it didn't work, lol. It was worth a shot at least.
__________________

Last edited by Vis : 08-01-09 at 09:51 PM.
Vis is offline  
Unread 08-01-09, 08:10 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
nUI doesn't use Blizz's action bars, and while it does reuse Blizz's action button logic, it does not reuse the actual action buttons... but I think I can tweak it to make it work... it probably needs to be done in the nUI_Button.lua code when the button is first initialized.
__________________

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/
spiel2001 is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » Quick Question

Thread Tools
Display Modes

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