Executing secure code on a RaidFrame click
Hey.
I want to execute secure code (do a SetAttribute() on my own secure frame while In Combat) when the user clicks on a raid member on Blizzard's raid frames. The goal is to save on my secure frame the UnitID of the party/raid member that the user has targeted with his click. My initial idea was to do something like: Lua Code:
But trying it I have seen that CompactRaidFrames don't have SetFrameRef() method, so this approach is not possible. Any ideas on how to do it? |
You need a header that is like a middle man for everything:
Code:
local header = CreateFrame("Frame", nil, nil, "SecureHandlerStateTemplate") |
All times are GMT -6. The time now is 02:34 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI