Can't get a value to display on a Common UI Numeric Text Block Binding

So as the title says, I’m trying to bind a value to a common UI numeric text block. Below is my code:

I am really struggling to see what I am doing wrong, even changing it to the following keeps the value at 0:

I really hope someone can point me in the right direction.

Hi, to be honest, I’m not sure about that.

What if we remove the ‘Set Current Value’ node and feed the variable directly into the return node?

I also know that binding is quite resource-intensive; it works much like an event tick. It would be better to replace it with an Event Dispatcher, call it directly from the character, or use another method depending on the requirements.

It’s possible that binding and “Set Current Value” are conflicting; binding checks the value every second, whilst “Set Current Value tries” to overwrite it every second – that might be the case.

I hope this helps you in some way ><

So I found out what the issue was. The numeric text block won’t do any bindings for some reason. So I’ve done a work around where the normal text block (title) for the number does the binding, and then just do all the code normally, except for in the return node I just set the text to read “Agility”. I didn’t know about it being quite resource intensive though, so I’ll try doing what you suggested once I’m out of the prototype stage :stuck_out_tongue:

Thanks for the help though :slight_smile:

1 Like

You’re very welcome. It’s great that you’ve fixed the bug. Good luck!