Cannot bind text to a Stat Viewmodel

Summary

You cant have text showing the stat device HUD as a custom ViewModel atm. You get the error:

Binding ‘UEFN_TextBlock_C.Text ← MVVM_UEFN_Stat.Value’: Could not create binding. The source property ‘Value’ (int64) does not match the type of the destination property ‘Text’ (FText). A conversion function is required.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Devices

Steps to Reproduce

Create a new widget
Add the Stat viewmodel
Add a text block
Bind the text block text to the viewmodel’s current value
compile

Expected Result

they are binded with no compilation error

Observed Result

Compilation error. Since we only have access to string values, we cannot fix

Platform(s)

PC

Upload an image

This is how i did it some conversion thing check this it might be how the default way is

1 Like

You legend, thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.