Updating stuff on the Wiki
View Single Post
04/13/14, 05:04 AM
Join Date: Apr 2014
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.
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
View Public Profile
Send a private message to Cr4x
Find More Posts by Cr4x