Announcement

Collapse
No announcement yet.

How to ask the user and resolve their numeric inputs?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to ask the user and resolve their numeric inputs?

    I am absolute new in the use of unreal engine, can you help me to realize the next interface user?
    Each button send me to a level with an interface where the user should enter two variables and there is a solution button that must be show the result on click..
    I do not know how to associate the text box for show the result...
    Can you help me please?

    Click image for larger version

Name:	capture_1.png
Views:	30
Size:	331.8 KB
ID:	1764870Click image for larger version

Name:	capture_2.png
Views:	17
Size:	115.5 KB
ID:	1764871

    #2
    1 - Select the button
    2 - on the details panel select "On Clicked"

    Click image for larger version  Name:	1.png Views:	0 Size:	12.8 KB ID:	1765563

    3 - implement the logic: get the text inside the boxes, transform them into floats, do the operation (in this case I'm just adding them), and then set the result in the corresponding box:

    Click image for larger version

Name:	2.jpg
Views:	22
Size:	147.5 KB
ID:	1765568
    "I have harnessed the shadows that stride from world to world to sow death and madness."

    Comment

    Working...
    X