View Single Post
10-11-11, 10:41 AM   #9
zoktar
A Cliff Giant
AddOn Compiler - Click to view compilations
Join Date: Dec 2006
Posts: 72
Originally Posted by Torhal View Post
Or you could just do this in your AddOn's ToC file:

Code:
## OptionalDeps: TellMeWhen
This ensures that TellMeWhen will be loaded first, if it exists - if not, your AddOn will load normally.
added

## OptionalDeps: TellMeWhen

to the toc, still get index null and no strata change.
toc
-------
---------------------------------------------------------------
## Interface: 40200
## Title: RhozacTweak
## Notes: Various Tweaks
## Author: rhozac
## Version: v1.0
## OptionalDeps: TellMeWhen
## SavedVariables: RhozacTweak

RhozacTweak.lua
----------------------------------------------------------------
the lua
---------
TellMeWhen_Group44:SetFrameStrata("BACKGROUND")

--------------------------------------------------------------------
1x RhozacTweak-v1.0\RhozacTweak.lua:1: attempt to index global 'TellMeWhen_Group44' (a nil value)

nil

Locals:
---------------------------------------------------------------------
So what am i missing here?
edit: tried adding TellMeWhen_Options aswell, no change.
-----------------------------------------------------------------
edit2: im looking into this registering stuff atm. So my current guess is that blizz has frames registered globally somehow and are allowed to be config'ed anyware?. So i must register TellMeWhen_Group44 to be able to set the strata?. How far off am i ? =P

Last edited by zoktar : 10-11-11 at 12:11 PM.
  Reply With Quote