How do I take something the user typed and check if it is a number and another to check if it is a specific word in the blueprint

How do I take something the user typed and check if it is a number and another to check if it is a specific word in the blueprint

assuming you have the user input as an FString, FCString::IsNumeric() and you can use == to compare strings.

please show me this in blueprint

1 Like

Thank you so much and How do I check if the text I type is the same as the word image

It’s already in the pic. It’s an Event the widget fires as you type.

1 Like

Hmm thanks and lastly, how do I get what the user types and put it on the screen to appear

You’re typing in an editable box so it is already on the screen?

1 Like

I want to take this typed number and put the number that typed it into a textrender in the map

Add an Event Dispatcher to the widget, bind it to the actor’s Custom Event that sets the Text Render’s text. Have the editable text box call it.

1 Like

thank so much

1 Like

Just in case:

  • in the widget with the Editable Text:

  • in the actor that has the Text Render, bind the Event Dispatcher:

1 Like

thank you so much everyone you save my day
If I have more questions, can I count on you?

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