WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   SecureActionButtonTemplate in Combat (https://www.wowinterface.com/forums/showthread.php?t=55343)

Granduca 04-21-17 08:02 PM

SecureActionButtonTemplate in Combat
 
Hi!
Is there a way to use SetPoint() for "SecureActionButtonTemplate" in combat? :confused:
Or maybe some other way to move unit frames in combat?

Fizzlemizz 04-21-17 08:14 PM

Not in combat. Blizzard doesn't want you to do things like place buttons or units under the mouse in reaction to certain in-combat events/conditions.

humfras 04-22-17 05:50 AM

When infight, you can only call SetPoint on secure frames from bindings, SecureHandlers, referenced secure frames or the frame itself.

You can't call a secure frames' SetPoint function infight via events or insecure code.

.

Please specify your intention.

e.g. if you want to move unit frames based on your combat status, that's doable.

Granduca 04-22-17 08:07 AM

Thanks for answers!

Quote:

Originally Posted by humfras (Post 323010)

Please specify your intention.

e.g. if you want to move unit frames based on your combat status, that's doable.

I want to rebuild my unit frames when the number of players changes.
It will also be fair to change the role of group or raid members.
And as a super task to change the position depending on the current health.

P.S.:
All this is needed for casting on unit frames.
Maybe this problem can be solved using a Clique?

kurapica.igas 04-23-17 11:12 PM

About the topic, I have some discussion about it in http://www.wowinterface.com/forums/s...ad.php?t=53871, may you find some help in it.


All times are GMT -6. The time now is 05:35 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI