LunaUnitFrames

LunaUnitFrames

268k Downloads

[Suggestion] Make function for /lunamo for use in conditional macros

axbat opened this issue ยท 4 comments

commented

Currently, there is no way to use mouseover cast in conditional macros. Making a function like Lunamo() would allow for macros like this:

/script if IsShiftKeyDown() then Lunamo("Flash Heal(Rank 7)");else Lunamo("Flash Heal(Rank 3)");end

This allows for multiple spells/ranks in one macro, freeing up action bar slots and keybinds.

commented

Use LunaUF:Mouseover("Flash Heal(Rank 7)")

commented

That worked - thanks!

commented

Error message "attempt to call method 'Mouseover' (a nil value) when using the macro:

/script if IsShiftKeyDown() then LunaUF:Mouseover("Flash Heal(Rank 7)");else LunaUF:Mouseover("Flash Heal(Rank 3)");end

commented

Download the current master or wait for the next release.