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"

How can I switch levels via BPs?

I'm building out a menu and char select system with BPs. I am doing all of the drawing via my one HUD BP and switching it based on a HUD state enum. I have all of it working. Also, I am displaying 3D models in Char Select so I have a char select map to display the models. When I run the game from the any other map besides the char select, all the logic gets messed up and I have char select HUD elements displaying over my in-game map etc.

I have two questions. 1) Is there a tutorial or example of level switching anywhere?

and 2) How can I switch levels when pressing play in the editor so that the game always starts up in the appropriate level even if I am in a different level at the time?

Product Version: Not Selected
Tags:
more ▼

asked Jun 12 '14 at 03:38 PM in Blueprint Scripting

avatar image

jihd
1 3 5 5

avatar image AttemptD Jun 12 '14 at 07:23 PM

Are you using the open level node??

avatar image jihd Jun 12 '14 at 08:00 PM

I'm using streaming levels now because of the comments I found here:

https://forums.unrealengine.com/showthread.php?364-Toggle-Visibility-of-multiple-meshes-with-key-press

I set this up and it works. I can select my characters, hit a button, and start the game. But now my pathing and matinees for my first playable level no longer work.

I have a charselect .map file as my main persistent level (for 3d model displays) and then my first playable level is a different .map file and is loaded when the players have finished choosing their characters. However, when I play through my playable level, the matinees don't work and the pathing is all messed up even though I can run around and fight in it.

Are there more tutorials on using the levels tool and multi-level setup?

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

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