so would something like this work?
Code:
local partyPosition = CreateFrame("Frame")
partyPosition:RegisterEvent("PARTY_MEMBERS_CHANGED")
partyPosition:SetScript("OnEvent", function(self, event)
if (event == "PARTY_MEMBERS_CHANGED") and not InCombatLockdown() then
PartyMemberFrame1:SetPoint(ns.unitframesPartyPosition.relAnchor, UIParent, ns.unitframesPartyPosition.offSetX, ns.unitframesPartyPosition.offSetY);
end
end)