taint from moving unit frames
hey mates,
im using a simple script to move the default unit frames Lua Code:
however i always get the message: interface-action failed because of an addon and because of said error my target of target frames is hiding taint.log: Code:
7/24 19:15:04.630 An action was blocked in combat because of taint from mUI - TargetFrameToT:Show() regards, Drool |
Those frames are secure. You are changing the SetPoint function on a secureframe. That function gets called infight and you catch a taint.
First question. Why don't you rightclick your unit frame and just unlock it. Move it to whereever you like it to be. That way the position handling will be set to userplaced and save its position to the layout-local.txt. |
Quote:
|
Do it once, copy/paste layout-local.txt
Edit: Exit the game before copy/paste. |
This. And if you like pixel perfect so much. Just edit the values inside the layout-local.txt. Problem solved.
|
Can i hijack this thread to ask if it's possible to move the boss unit frames without causing taint - since they don't have the right-click + move option?
Lua Code:
Lua Code:
Lua Code:
Trying things like this has either failed to produce results, caused an ADDON_ACTION_BLOCKED error, or both. |
Quote:
Lua Code:
I think this would work with the TargetFrame or pretty much any protected frames too. At least i'm using this in: http://www.wowinterface.com/forums/s...ad.php?t=49385 However i'm not finished with the "in combat" testing yet. |
interesting, will report back.
|
Quote:
it seems like it works already by just adding SetMovable(true), SetUserPlaced(true), SetMovable(false) like this: Lua Code:
so it'll work both ways without a taint, thanks mate!! |
Yes that is actually the same as unlocking the frame in game and moving it. Technically you enable movable, enable userplaced and when finished lock it again. :)
|
Quote:
Lua Code:
I get this: Code:
\Map.lua:342: Frame Boss1TargetFrame is not movable or resizable |
I'm fairly sure that any successful way to moving it, if possible, is via the UIParent.lua
https://github.com/tekkub/wow-ui-sou...L/UIParent.lua specifically from line 2310 onwards. But yeah, I dunno how to actually go about it. And it still might be something much simpler. |
Is there any fast quests or scenarios where i can test this frames?
|
I've just been nipping in and out of LFR to test, but I just found this with a quick cursory search for anything to do with boss frames:
Quote:
|
Quote:
|
Yeah - it's annoying. I guess as a last resort I can always just use the DBM hp bars, but I'd prefer not to.
|
Also, I can't remember if I imagined this - but I think I vaguely remember SexyMap advertising that it could successfully move the frames at one point. Not sure if that's still the case though.
|
Think you need to/can move the boss frame container, whatever that is, rather than the individual unit frames. I seem to recall that being suggested in some other thread.
|
There is no "boss frame container".
https://github.com/tekkub/wow-ui-sou...ua#L2310-L2323 Code:
-- Boss frames - need to move below buffs/debuffs if both right action bars are showing Code:
local moving |
Quote:
|
All times are GMT -6. The time now is 05:50 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI