View Single Post
08-14-19, 03:21 AM   #1
oddnecessity
A Defias Bandit
Join Date: Jul 2019
Posts: 2
Question Placing macros on action slots with Lua

Hi,
I am using the following code in my addon to place spells on specific action slots:
Code:
PickupSpell("100") PlaceAction ("9") ClearCursor()
which works fine. What does not work is:
Code:
PickupMacro("ui off") PlaceAction ("59") ClearCursor()
PickupMacro("ui off") by itself works as intended (I have unique macro names)
ClearCursor() also works.
But PlaceAction seems to only work for spells, not for macros. Is this the intended behaviour? Am I missing something? How can I place macros on my action slots with Lua (I know it only works out of combat)
  Reply With Quote