Download

Change Text or value of widget

Hello ,I want to make button which will be send value or number to UI which I shows on pictures below.

This button “KUP” want to be like 200
Widget.jpg
which gonna send number to UI which is below
771eed8078fd1971b28ab27d128846ff8e6e4c03.jpeg

Please help !

you can link that value trough bind text.
you then get a function in the graph called GetText_0
and there you can connect a value to the text.

2017-04-29_21h57_22.jpg

2017-04-29_21h58_02.jpg

But this gonna be like shop so each item I want to get different cost and all that cost want to be showing in UI so this will work ?

I dont know the rest of your blueprint or what you are planning to do, but it seems to me that you need to make a lot of int variables and calculate and check if you can buy it with the characters money int. So you can make an actor called shop and have the cost there, and then fetch that value from that actor?