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"

"Open Level" Blueprint Node Executes After Following Nodes?

I'm trying to write a load game function in Blueprints, and I wanted to double-check something. It seems to me like the "Open Level" node actually doesn't open the specified level until after the following nodes are executed. Can anyone confirm that? Is that intended or not?

Example: alt text

In this example, I'm running the game in PIE mode. I start the game, and see my player controller is called "PlayerController4", for example. I hit K, and the level re-opens, but the message printed is "PlayerController4" even though my new player controller is "PlayerController5".

The more problematic side effect I'm seeing is that if I add any Spawn Actor nodes after the Open Level node, they apparently are getting spawned before the level is opened, and the new level being opened clears them away.

Anyone know what's going on here? Thanks!

Product Version: Not Selected
Tags:
more ▼

asked Apr 30 '15 at 09:16 PM in Blueprint Scripting

avatar image

clt2488
275 17 35 37

avatar image Pelangi Dec 25 '16 at 06:12 AM

It's still happening in 4.14 as well.

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

1 answer: sort voted first

because that's how things work? You're changing level, but the print string is still part of previous level, and before executing everything is encapsulated and calculated.

more ▼

answered Dec 25 '16 at 07:41 AM

avatar image

Holybreath
383 10 7 19

(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