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"

Random integer loop on Widget

Hello guys,

I'm having a problem, i created a widget and it will have a random image on it:

alt text

It's working. The problem is, while this widget is shown the images keep changing after some seconds. You guys know a way i can do the widget select only one image and don't change anymore? ("Fundo" is the image).

Product Version: UE 4.19
Tags:
print1.png (158.3 kB)
more ▼

asked Jun 04 '18 at 06:07 PM in Blueprint Scripting

avatar image

GuaiamuStudio
79 5 7 14

avatar image AZTECCO Jun 04 '18 at 06:52 PM

Hello!

Can you provide the graph where you call loading image?

And you can put this under construction event, how often are you using this widget?

avatar image GuaiamuStudio Jun 04 '18 at 07:07 PM

Hello! Oh sorry i forgot to tell, this function It's on the widget itself. On the Event Construct i call the function called "Loading Image" and i call this widget when i change the levels.

avatar image Nebula Games Inc Jun 04 '18 at 07:12 PM

You must be calling it somewhere else or creating multiple widgets. Screen shot how this is called and any other place you call it from and/or create this widget.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You was right Nebula Games, i entered in all my maps and in some of them i was calling the widget 2 times ^^" Thanks for the help!

more ▼

answered Jun 04 '18 at 10:30 PM

avatar image

GuaiamuStudio
79 5 7 14

avatar image Nebula Games Inc Jun 04 '18 at 11:12 PM

No problem!

(comments are locked)
10|2000 characters needed characters left
Your answer
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