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"

ForEachLoop not incrementing every cycle?

So i am coding a game and i thought that it would be more effecient to do the blueprints outside of each level and have them call on them instead. I am now facing an issue with the fact I cannot loop my level names. For example, i have level 1 open, then at the end of all the blueprints it would open the next level (level 2), but how would i have it do this multiple times with many levels so it opens level 3 and so on. I have attatched how i am currently doing it, but it doesn't work. Any help would be greatly appreciated, thank you.alt text

The array called integer index has the values of 0, 1.
The variable blueprint 1 has the value "blueprint_1" (Level 2)
The variable blueprint 2 has the value "blueprint_2" (Level 3)

Product Version: UE 4.19
screenshot-8.png (113.0 kB)
more ▼

asked Nov 02 '18 at 01:12 PM in Blueprint Scripting

avatar image


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Use the Append node to combine part 1 of the string to part 2

more ▼

answered Nov 02 '18 at 06:03 PM

avatar image

3.8k 18 20 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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