View Single Post
07-24-19, 10:08 AM   #1
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
Ace3 Module with sub modules?

Hi,

im using Ace3 since its making a lot of work much easier. Today I was wondering
if it is possible to create Ace3 modules with submodules.

Usually you create modules for addons like this:

Lua Code:
  1. AddOn = ACE3:NewAddon("AddOn");
  2. Module = AddOn:NewModule("Module");

What I would like to do is something like this:

Lua Code:
  1. AddOn = ACE3:NewAddon("AddOn");
  2. Module = AddOn:NewModule("Module");
  3. SubModule = Module:NewModule("SubModule");

I want to do that because sometimes things are getting too big. For example im working on data texts. So I have my main addon and a data texts module. keeping all data texts in that module is way too big so I would like to split them into sub modules.
  Reply With Quote