WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   OpenRDX: Bug/Error Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=105)
-   -   Attempt to index global RDX (out of addon) (https://www.wowinterface.com/forums/showthread.php?t=42492)

unlimit 01-29-12 08:49 PM

Attempt to index global RDX (out of addon)
 
Code:

Interface\AddOns\AUI_True\AUI_True.lua:17: attempt to index global 'RDX' (a nil value)

Stack trace:
-----------

Trying to use RDX.RegisterFeature outside of AddOns\RDX, but I'm starting to get the feeling that RDX functions are protected (besides the OOBE one). <.< I thought they were available for everything.

Is there anyway to use RDX features in a separate addon?

sigg 01-30-12 02:03 AM

Your addon is loading before RDX.

You need to add a dependency.

Add in the toc file of your addon :
## RequiredDeps: RDX


All times are GMT -6. The time now is 01:36 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI