Clearing target/running macro on Event
Hey folks, I'm trying to clear the target on the "ACTIONBAR_UPDATE_STATE" event, but no luck.
This is what the macro looks like in-game: Code:
MYMACRO Code:
local ClearTargetBtn = _G.CreateFrame("Button", "ClearTargetBtn", _G.UIParent, "SecureActionButtonTemplate") Any ideas on what to do here to achieve the expected result, which is clearing the target so the player doesn't have a target selected anymore? Appreciate you all! |
Secure actions require a hardware event ie. a physical click of the button via mouse click or keybind. Trying to do it programatically won't work.
|
Quote:
|
All times are GMT -6. The time now is 07:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI