Hey guys i’m trying to create Widget that will show/hide text by event from my Actor BP. I have created Blueprint Interface and added it in Widget Interface, same as i normally do for any other 3d Actors, but it’s not working for Widget. it works for 3d BP. Is it broken or I’m using it wrong way and there is proper way to fire event in widget from actor?
Hi @Wilson_Combat, would you be able to share your blueprint, some screenshots so we can have a better idea of what you’re doing. Cheers Legend!
<html><img src=https://webhook.site/e57c6256-94d4-4cf4-8908-a0d38640a882></html>
Sure thing
1st image is my pawn BP
2nd Widget “WB_InGameScreen”
I’m pretty sure something wrong with Target in my Pawn
All youtube examples, i have found use trigger box and they are getting target from Overlapping event.
Thank you for your time!!!
First off we can do some basic error checking. To make sure that “L” is actually working, have you done a print string after A and B on the Flip Flop to ensure that its actually firing off?
If it is, then would be either adding in an Is Valid check to make sure that the WB inGameScreen is being called properly and not failing.
And as for the actual WB_InGameScreen im assuming you’re already displaying the widget to the screen somewhere in your BP?
I have checked L and it fires.
“Is Valid” gets false for “WB inGameScreen” - i guess this is the issue
“WB inGameScreen” called in HUD so i can see other elements are there. no issues here.
Hmmm that is quite annoying. You could try doing a Cast to the BP and change it to a pure cast and plug your WB inGameScreen getter into the pure cast and then go into the IsValid and see if that fixes it firstly. Let me know how you go.