Originally Posted by SDPhantom
This guess is correct and it has no impact to performance as it's just creating it as a child of a different frame. If you're talking about preforming the same indexing operation repeatedly, it depends on how frequent the function runs and how often you do it in the function. Normally, since this is just at frame creation, it should be fine as-is. In this specific example though, you can use the $parent tag at frame creation to reference the name of the frame's parent.
Code:
f.Health:CreateFontString("$parentText", "OVERLAY");
|
Hi SDPhantom,
Thank you for your reply!
That eased my concern
BTW, what is '$parent'? It seems like it gets the name of the parent frame, but what is it called?