View Single Post
12/18/16, 04:57 PM   #13
Crabby654
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 19
Originally Posted by Ayantir View Post
Looked quickly at it and ...

http://wiki.esoui.com/Main_Page
http://wiki.esoui.com/Getting_Started
http://wiki.esoui.com/Writing_your_first_addon
http://wiki.esoui.com/SimpleNotebookTutorial/part1

I would also say that when you don't understand something, look at how others did and do same.
Originally Posted by Baertram View Post
As I thought you are not building an addon. You are just putting some lua source code for a LAM in your file and that's all
Please read the links that Ayantir provided and see how an addon must be build in the addon's lua file.
Especially the event like EVENT_ON_ADDON_LOADED etc.

The lua interpreter is reading your source code from the top of the fie downwards to the bottom so be sure to put your variables and functions etc. in the correct order, so that "called variables/functions" further down in your code will be declared above the code where they are called.
Alrighty thank you for the links. I'll take a read through them and see what to do! I'm sorry if this was a super ridiculous thing to post about, I honestly thought that for what I had that at least a menu would show up, but I guess not! Time to take it all back to the drawing board.
  Reply With Quote