Announcement

Collapse
No announcement yet.

Int Array Value to String?

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

    Int Array Value to String?

    Hi i Have a Int Array with 10 Values and need to show it as tewxt in a widget

    i try this but not work

    in the Get i try to set the Number of the Value i need to show

    #2
    Rather than casting (btw, there's something wrong with your cast - the blue note. No value will be returned if the cast fails) and running 10 binding functions every frame, consider updating the widget text only when the values change, via Event Construct to start with and then using a Custom Event. Something like this:

    Click image for larger version  Name:	Capture.PNG Views:	1 Size:	163.3 KB ID:	1400450

    You can expose TextBlocks as variables at the top of the details panel by ticking isVariable.

    Comment


      #3
      Hmm this not work for me

      Comment


        #4
        Consider posting a screenshot of how you put it together. The stuff above is pretty straightforward.

        If you prefer to have 10 functions bound to text blocks, go ahead. It will not work as well as the setup I posted but it will. Just put the appropriate array index number in the Get node you circled in red and there you go.

        Comment

        Working...
        X