View Single Post
01-25-18, 06:39 AM   #10
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
This construct makes no sense. '...' represents the arguments passed to every file loaded in your addon.
There are only 2 arguments. The first is the name of your addon. And the second is a table unique for your addon.

So you should only have one line. It should look more like this

Code:
local name, ns = ...
ns.F = {} -- F, functions
ns.G = {} -- G, globals like fonts, textures, media, Ace3
ns.V = {} -- V, variables
local F, G, V = ns.F,ns.G,ns.V
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote