Already failing at Event_Add_on_Loaded
Hi there,
I am playing around a bit with LUA, but for me it looks like I set up something wrong. I've tried it with the easiest examples of all: TestOne.txt: Code:
## Title: TestOne Code:
function TestOne.Initialize(eventCode, addOnName) Quote:
What am I doing wrong? |
You try to print something to chat window when the window doesn't exist yet.
You need another event here: try this: Quote:
|
Thanks, that helps a lot.
Didn't guess that the addons were loaded before the actual GUI. |
You may want to take a look at this 2 addons as an example:
Sample Application (For new developers) ins:AddonTest |
Quote:
Lua Code:
|
All times are GMT -6. The time now is 01:58 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI