Hello, I’m trying to make a game for fun and it has been for the past few months, but somehow ue4 got bugged from something. I had a menu when you pressed escape in game it would hide everything and then show the menu, with options and other things, now it isn’t working.
Here’s the code for the custom event that I’m calling in the PlayerBP and the PlayerBP code:
I forgot to change something in the custom event, and the hidding is supposed to hide the Health State and then make the menu visible. Here is how it was before 2 weeks ago and when I ment everything it was the mini map and the health state but I took the mini map off, it was taking a lot of fps, now the only thing in the ui is the health state and the menu
Ok! In the old version you just do it with reference to widget of specified class. But in the last comment your custom event has no params. Where is the part, that is calling whis event from widget object?
Recompiled it, the textblock is a child of the Health state and I need to put the healthstate in not hit-testable otherwise I cannot use the buttons to the left side.
Everything is rather simple… Really strange… Could it be another TextBlock from another part (not from Health State)? One more thing - you can check the most simple case - move set visibility to input event itself and disconnect all other logic.
I don’t think so because I only start that UI, https://prnt.sc/wc50i8 , and I tried only setting the visibility of the Health state invisible but it didn’t do anything, that’s why I said it might be a bug.