Loops in binding functions

I have a collectible that I am trying to link to a widget that will show a text box when collected. I have a boolean that is set to true when the collectible collides with the player.


I have already attempted creating a loop in the event graph to no avail.

How would I go about creating a loop in the widget that constantly checks for the boolean to be true, and when it is true it will show the text box?

Don’t know if I understand you correctly, but having the Widget constantly checking for Collectibles doesn’t sound efficient. Better way would be the opposite: Let the Collectible communicate to the Widget, but only once, when the pick-up event is fired.

Blueprint Communcations! I highly recommend watching this video.
Min. 21:24 gives you an example of how stuff in the game world can communicate with the UI. Not exactly what you need but it shows you a concept of how it could be achieved.

2 Likes