x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Why is Text Render not showing the runtime text correctly?

I am currently generating a random number at runtime in the level and then having a text render component display the number.

The problem seems to be that the input and render is happening somehow before the number has been randomized. Even though the text render node is not fired until AFTER the randomize has taken place. During debug I can see the value has been set to the int but the visible number in the level does not show up correctly.

I have tried even delaying the text render to see if that would help but it did not seem to make a difference.

Any ideas what I could be missing as to why the render happens before the int has been set ?

Product Version: Not Selected
Tags:
more ▼

asked May 06 '14 at 04:30 AM in Blueprint Scripting

avatar image

DJMidKnight
1.2k 50 24 51

avatar image canI May 06 '14 at 05:10 AM

Posting blueprint might help pinpoint the issue. Just FYI, this: alt text Will output three different numbers. What are you using to generate the number? If Random Integer, are you pulling from the return Value more then once?

Edit: My bad I see the "random streams" tag now, discard comment.

3dif.png (54.0 kB)
avatar image DJMidKnight May 06 '14 at 04:04 PM

No you are in the right thought but not the issue. Basically what is happening is the random generated number is stored in a INT variable then that is sent to the text render. The random int is not directly outputted to the text render. What it seems is that the TEXT displayed is behind what is going on.

avatar image Steve Allison STAFF May 06 '14 at 06:38 PM

Hey DJMidKnight,

We haven't been able to reproduce this issue internally--would you be able to provide a screenshot of a simple setup that is resulting in the discrepancy that you are seeing?

Thanks,

-Steve

avatar image DJMidKnight May 07 '14 at 01:04 AM

Blueprint So heres the little bit that there is. For some reason the TEXT seems to always be behind. It doesn't update when the event happens. I have tried every type of replication setup I can think of / timers / delays not sure why if you change a value the print to screen shows the change but the text render will not until you activate the event again even though nothing has changed.

textrender.jpg (54.6 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question