Execute slash cmd/Function from another addon
I would like to either run the slash command from my addon:
"/aguf raid raidset 1" Or the LUA command inside aguf: aUF:setVisibilityOption(CurrentRaidSet, 1) Is this possible? Thanks! |
sure you just have to copy paste where you need the function
aUF:setVisibilityOption(CurrentRaidSet, 1) it will recognize it even in your addon because aUF is a global table. |
Quote:
aUF:setVisibilityOption(CurrentRaidSet, 1) And paste it where i need it, but then when i run it: attempt to call method 'setVisibilityOption' (a nil value) |
Quote:
Code:
local function setVisibilityOption(option, value) Code:
function aUF.classes.aUFgroup.prototype:SetVisibility() |
All times are GMT -6. The time now is 11:56 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI