View Single Post
10-19-20, 06:02 PM   #2
helianthus
A Kobold Labourer
Join Date: Oct 2020
Posts: 1
Hey there!

Naming conventions were the culprit here:
Code:
Pitbull vs PitBull
Code:
portrait vs Portrait
You will want to update your posted lines to include the anchor function and naming changes.
PitBull = function(anchor)
local frame = _G[anchor]
if not frame then return end
if frame.Portrait and frame.Portrait:IsShown() then
return frame.Portrait, frame
else
return frame, frame, true
end
end,
["Pitbull"] = {
func = GetAnchor.PitBull,
units = {
player = "PitBull4_Frames_Player",
pet = "PitBull4_Frames_Player's pet",
target = "PitBull4_Frames_Target",
focus = "PitBull4_Frames_Focus",
party1 = "PitBull4_Groups_PartyUnitButton1",
party2 = "PitBull4_Groups_PartyUnitButton2",
party3 = "PitBull4_Groups_PartyUnitButton3",
party4 = "PitBull4_Groups_PartyUnitButton4",
},
},
  Reply With Quote