Quantcast
ESOUI - View Single Post - Updating stuff on the Wiki
View Single Post
04/13/14, 05:04 AM   #12
Cr4x
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 11
I guess all of your were right.

However, for "beginner" it is not immediately recognizable that Lua has the ":" operator which causes in this case the eventCode as first Argument.
The list of parameter are correct, however it should be mentioned at the top of the EVENT site, that there will be always the eventCode as first argument.

/edit:
I know there is a thread about a "template" which to use when editing the wiki and which we should discuss soon.

And btw, Stormknight why is your AddonInitialize function, which is mainly your EVENT_ADD_ON_LOADED callback, not a local function instead? Do you want others to be able to initialize your addon manually ?

Last edited by Cr4x : 04/13/14 at 05:09 AM.
  Reply With Quote