Announcement

Collapse
No announcement yet.

Experimental Widget change text ?

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

    Experimental Widget change text ?

    I have a widget embedded in an actor as "experimental widget" and want to change the text. How can I get to it ?

    #2
    Drag off from your widget variable, GetUserWidgetObject, cast it to your widget, get your text block, then set the text:

    Click image for larger version

Name:	ce145012e9fa465aaaa32ef8b8d4089b.png
Views:	1
Size:	69.9 KB
ID:	1091880

    Comment


      #3
      Great, thanks. Just one question ... what's the bit in between cast & settext ?

      Comment


        #4
        It's a reference to the text block you want to change, so it it will be called whatever you have called your text block. Also, you may have to first check the IsVarible checkbox in the widget details on the textbox, in the umg designer to be able to get it and set the text that way

        Comment


          #5
          It's ok I've found it, thanks again.

          Comment

          Working...
          X