WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Moving Blizzard Party Frames (https://www.wowinterface.com/forums/showthread.php?t=58335)

kaytotes 10-20-20 06:35 PM

Moving Blizzard Party Frames
 
Basically prior to some time in 8.2 I believe something changed with regards to SetPoint usage. Since that point I've no longer been able to move the party frames in Retail however still can quite comfortably in Classic.

I create a drag frame that I used to parent the party frames too so that the position could be customised by end users. This now results in the following error.

Code:

6x ...eImprovedBlizzardUI\modules/frames/party.lua:59: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: PartyMemberFrame1:SetPoint.
[string "=[C]"]: in function `SetPoint'

A snippet for this can be found here where you can see i'm bailing out currently if it's retail however the code below did used to work and does on classic.

https://github.com/kaytotes/Improved...ty.lua#L45-L65

Does anyone have any advice for how I can bring back this functionality for Shadowlands onwards?


All times are GMT -6. The time now is 12:39 PM.

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