Thread
:
How do I reference an option from another file?
View Single Post
11-12-16, 10:34 AM
#
2
Rilgamon
Premium Member
Join Date: Sep 2009
Posts: 822
Lua Code:
local
addonName, addonNamespace
=
...
Every file loaded has access to two variables. The first is the addon name and the second is a shared namespace ( a table ). Put the data or functions you want to share into the addonNamespace.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Rilgamon
View Public Profile
Send a private message to Rilgamon
Find More Posts by Rilgamon