Need help . I have set a macro and two auras. When enter game appear aura 1 by default OFF, and when execute macro turn it ON. Press again macro and turn it OFF. Works perfect. Here is macro code:
Code:
/run toggle_single = not toggle_single
Auras code:
Aura 1: (shows OFF text), type: Custom, Event Type: Status, Check On: Every Frame, Custom Trigger:
show:
Code:
function()
if toggle_single == true then
return true
else
return false
end
end
hide:
Code:
function()
if toggle_single == false then
return true
else
return false
end
end
Aura 2: (shows ON text), type: Custom, Event Type: Status, Check On: Every Frame, Custom Trigger:
show:
Code:
function()
if toggle_single == true then
return false
else
return true
end
end
hide:
Code:
function()
if toggle_single == true then
return true
else
return false
end
end
This always works perfect. But I need a second set of ON/OFF auras. I just duplicate macro and the two auras, just changing variable name to toggle_aoe. This way when I enter game, this second OFF text appear right, but when push the macro (the second one), the ON text won´t appear. Press macro again and OFF aura appear. I don´t know why the ON aura won´t appear.
Anyone know why this behaviour?
Thanks