I've created a new UI recently with panels parented to all of my UF's, and I've run into an issue. I need to make the panels on my party frames hide when I join a raid. I am using Pitbull for UF's, and when a group is converted to a raid, the same unit name is used for Raid Group 1 as Party, causing my party panels to shift to my raid UF's.
See screenshots below for a better idea of what I'm doing.
In party, panels correct:
Converted to raid:
Raid after a /reloadui:
OnLoad script (the same for all party panels):
OnEvent script (the same for all party panels):
Can anyone suggest an error in my scripts that may be causing them to not work as I intend? Any help will be greatly appreciated.
-Colbert