How to get variables or information out of level BP?

I have a remove all widgets node in the level BP, I want to be able call that in the third person character BP. To signal when it has been activated. How can I do that?

the better option is have all your widget logic inside the “HUD class”
but since you already have it like this, the solution is create an event dispacher in your character and bind that event in your level BP, so when u need to remove all widget, u call your dispacher from u player.

1 Like

Thx, I have watched this and a few others about event dispatchers and know more about them than I did. Will definately try to use them in the future.

I have come to the conclusion its best to stay away from the level BP all you can unless absolutely necessary for some reason. For the simple reason it is essentially a dead end path. I was just trying to simply get a boolean variable out of a level BP and just could not do it. What I ended up doing was making an actor BP, dragging that into the level. And then just transferring the code that was in the level BP and everything works fine.

1 Like

That, is what I always tell people to do. But they seem to like having a difficult life, ignore me and use dispatchers :smiley:

1 Like

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