Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Unleash101
Forum: Lua/XML Help 06/01/20, 04:58 PM
Replies: 7
Views: 5,045
Posted By Unleash101
I am an idiot! I have a settings.lua file that...

I am an idiot!
I have a settings.lua file that creates the settings panel via libaddonmenu. So in LAM:RegisterAddonPanel("myAddon", panelData)
LAM:RegisterOptionControls("myAddon", optionsTable)...
Forum: Lua/XML Help 06/01/20, 04:49 PM
Replies: 7
Views: 5,045
Posted By Unleash101
<GuiXml> <Controls> <TopLevelControl...

<GuiXml>
<Controls>
<TopLevelControl name="myAddonActive" hidden="true" alpha="0.0">
<Dimensions x="200" y="25" />
<Anchor point="BOTTOM" relativeTo="GuiRoot" relativePoint="CENTER"...
Forum: Lua/XML Help 06/01/20, 04:44 PM
Replies: 7
Views: 5,045
Posted By Unleash101
Moved EVENT_ADD_ON_LOADED. But this did not...

Moved EVENT_ADD_ON_LOADED.

But this did not solve the problem. As I saw nil in the chat instead of myAddon, I see it.
Forum: Lua/XML Help 06/01/20, 04:24 PM
Replies: 7
Views: 5,045
Posted By Unleash101
function myAddon.Activated(e) ...

function myAddon.Activated(e)
EVENT_MANAGER:UnregisterForEvent(myAddon.name, EVENT_PLAYER_ACTIVATED)
--d(GetString(SI_DEBUG_MESSAGE))\
d(myAddon.name)

end

This function sends nil to...
Forum: Lua/XML Help 06/01/20, 04:07 PM
Replies: 7
Views: 5,045
Posted By Unleash101
Variable in the table returns nil

Hello!
I am learning to create add-ons and ran into a problem.
When I try to get a variable from any table, I get nil
Even if I try to get the variable myAddon.name

myAddon = {
name =...
Showing results 1 to 5 of 5