Forum: Lua/XML Help
06/01/20, 04:58 PM
|
Replies: 7
Views: 5,045
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
<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
|
Forum: Lua/XML Help
06/01/20, 04:24 PM
|
Replies: 7
Views: 5,045
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
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 =...
|