I am currently trying to learn how to make a multiplayer game with multiple characters to choose from, similar to Team Fortress 2 and Overwatch. So far all of my characters are children of a Base character blueprint. I can change characters while in a Lobby map and their movements and attacks are replicating just fine. Now I want to give each of them their own widget that shows their abilities/cooldowns and unique health bars. I’ve tried a few methods to display these widgets on a singular custom HUD but either I remove all widgets from the HUD or they begin overlapping each other on character swap.
I’m not sure if I need to use a widget switcher (which makes me think I would have one giant widget housing multiple widgets, which sounds like a mess of a headache), an interface maybe, or a base HUD class with children? I was hoping I could just have the HUD class and potentially have an array filled with each widget, but right now my head is swimming and I’m not quite sure where else to turn.
I can’t seem to find any tutorials on how to accomplish this task, any that I find just show how to make widgets for single player games. That or tutorials on how to set up multiplayer character selection but that is as far as those tutorials go. I’ll try to answer questions as best as I can if anyone takes the time to help, and it will be appreciated.