Binding Text Function Activation

Hello, I have some text on my main HUD UI that updates based on what im looking at through a bound text function(top photo). This is text that says “Press X to enter shop” when I look at the shop owner. I wanted to turn it off that text while I have another UI open (the shop menu is open) so I manually set the text to nothing by doing SetText on the text variable(bottom photo). However, after I do this, it no longer actively updates the text after that (it no longer says to Press X to Shop when looking at shop owner). Is there any way to restore it to actively update that “Press X to Shop” function for the text? Also, when does the Bound Text Function activate? Is it every tick?

You can set widget visibility to Collapsed instead of using empty text.

Also, in the above image, instead of the Get Display Name function, you should use something else like the actor tag.

It is not recommended to use a bound function, because it happens every frame, so create a custom function to set the message text and call it when necessary.

1 Like