Overhead Status Effect Icon Bars

So, for a combat game I’m making, I want you to be able to easily determine what status effects are afflicting your characters as well as your enemies. I’ve seen examples of this in many RPG games, so it’s not impossible, but for the life of me, I can’t figure out how to go about doing this

I already have imgs and a way to detect what effects they have (Both good or bad), I just don’t have a way to visualize it.

I’ve googled every variation of “overhead status effects unreal engine 5” I could think of, and while I got a lot of marketplace “examples”, only one included status effect icons, and I personally don’t want to pay to continue.

Are your status effects stored in an array somewhere on the characters or a component? If so, make a widget with some sort of “update function” which steps through an array with the same structure with a for each loop, adding an icon for each as a child to one of the widget’s elements. Then add a widget component to the character blueprints, and whenever you add or remove an effect, pass the array of effects to the update function. Will probably want to clear the children at the start of update to avoid duplicates and such.

Isn’t much different than an overhead healthbar really, and there should be like a million examples of those on youtube.

2 Likes

Thanks, Had to tinker with it a bit so it would work with the way I had set up my effects.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.