View Single Post
03-21-10, 07:43 AM   #20
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
You have to make your addon dependent on nUI (as an optional dependency). That (should) cause WoW to load nUI first if it is present.

EDIT: There is another trick you can do...

Code:
if not IsAddOnLoaded( "nUI" ) then
    LoadAddOn( "nUI );
end

if IsAddOnLoaded( "nUI" ) then
    nUIStuff();
end
__________________

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/