So the health bar i made for my boss enemy checks if the interface im using is initialized and if it is it will update, but its not initializing. Any thing im doing wrong?
All widgets are on your main player. You can’t put a widget on your bosses viewport, unless it’s multi player or something.
I’m sensing a bit of confusing here, conflicting goals.
A blueprint interface is used to talk from one actor to another when you don’t know, or don’t want to know, what kind of actor it is. If you’re doing any casting, you might as well not use it.
Sometimes people use event dispatchers with widgets, to avoid the way they are bound on tick. But that also doesn’t really matter when it’s just a health bar.
If you can tell me in one sentence what you’re trying to do, I can explain a simple method.
Something like ‘I want to see my players health and the bosses health in the viewport’
Thats exactly what im trying to do. I want to see the boss(s) health and my health on the screen working accordingly
I created the event dispatcher and im getting the same result but i did find that casting to the enemy’s bp is failing for some reason, so i’m assuming everything is due to something being wrong with the boss bp?