View Single Post
09-16-22, 08:17 PM   #4
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Also, try changing the parenting from
Lua Code:
  1. local Incoming = CreateFrame("Frame", nil, PARENT_FRAME, BackdropTemplateMixin and "BackdropTemplate");
to

Lua Code:
  1. local Incoming = CreateFrame("Frame", nil, LocationMessageView, BackdropTemplateMixin and "BackdropTemplate");
Unless you have PARENT_FRAME assigned as something somewhere, it is nil.

The name of your XML frame (LocationMessageView) will be added to the global table and, assuming your XML file/frame loads first, you can use that as the parent in your .lua frame. This is done with the names of all frames.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote