Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-18-13, 03:16 AM   #1
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
Code loading priority help

Ok so, i have this addon, that runs as a dependency for almost all my other addons

http://pastebin.com/jUcx1dy8

It's been serving me well for several years. The thing is, i'm in the process of redoing my entire UI, and at the same time, move all my addons into one.

That part is almost complete and works great exept for this one.

Because it was a dependency for everything else, i was guaranteed that it would be executed first but not anymore since my UI is now one big single addon.

In short, i need a way to execute this first before any other code. I've tried several different ways, but all failed, either silently (no error but no pixel adjustment) or with an error (attempt to perform arithmetic on upvalue "ScaleFix")

This isn't very clear i know and i'm sorry about that
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Code loading priority help


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