Originally Posted by Torhal
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