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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Question about execution order & Sequence node

It's probably a basic question, but I'm still not sure how this works in BPs...

  1. Let's say that we have Sequence node with 2 outputs. In the first output we have ForEach node with many elements. In second output we have 'Hello' Print String. Will the 'Hello' wait for the ForEach node completion before printing? Will it print only when this ForEach is Completed?

  2. Similar situation, but with functions. Function2 is connected immediately after Function1. In Function1 there is ForEach node with many elements. Will Function2 wait for Function1 ForEach loop completion?

I will be grateful for clearing this up :)

Product Version: UE 4.12
Tags:
more ▼

asked Jul 30 '16 at 08:48 PM in Blueprint Scripting

avatar image

Slavq
2k 156 153 206

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

2 answers: sort voted first

Yes and yes. That is the point of a sequence. You start with the first and do that one to completion before you move on to the nest one.

All sequences in all systems will do this as it is part of its definition.

more ▼

answered Jul 30 '16 at 08:53 PM

avatar image

NoobsDeSroobs
2.7k 106 35 178

avatar image Slavq Jul 30 '16 at 09:17 PM

Thanks! I was confused because it might be an execution sequence, but when it would be some kind of parallel computing, it would execute simultaneously. Parallel programming classes destroyed my brain, sorry :D +1

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

Quite of wrong it is not always waiting for the sequence 1 to complete. If you add a delay in sequence 1, then sequence 2 will execute before the sequence 1 complete.

https://answers.unrealengine.com/questions/412150/what-is-sequence-good-for.html

Have fun...

more ▼

answered Nov 24 '17 at 02:45 PM

avatar image

Orion_78
91 2 12 17

(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