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"

Load New Level From Box Trigger?

So I've seen a whole bunch of tutorials on having a main menu and clicking a button to load a level, but NOTHING on when the player gets to a certain door, they open the door and a load screen pops up and loads a new level. Is there any information out there?

What I want to happen is when the player reaches a building, The player inside the box trigger presses "E" and a load screen comes up and a new level loads.

I've seen stuff on level streaming, but that doesn't seem like the thing I need. Here's the code I have now that is functional but I don't think this is right:

alt text

I've heard this is the wrong way to do it, and also lots of people have "fake" load screens where its just a "delay" node. So any help would be great. Thanks

Product Version: UE 4.8
Tags:
ss1.png (154.7 kB)
more ▼

asked Feb 04 '16 at 05:05 AM in Blueprint Scripting

avatar image

bootstrotter
28 6 8 11

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

1 answer: sort voted first

Create a widget with loading screen text on it. Create a bool that is enabled when you overlap a box trigger and cast it to the character blueprint. You can add a timer to keep the loading screen on longer but it is basically a visual so you know it was loading, not for seeing percentage loaded.

The pib.jpg is the actor containing the box trigger and the fpc.jpg is the first person character blueprint.

alt text

pib.jpg (59.0 kB)
fpc.jpg (63.9 kB)
more ▼

answered Feb 04 '16 at 05:50 AM

avatar image

Overwatch04
326 22 22 32

avatar image bootstrotter Feb 05 '16 at 06:31 PM

Interesting, I'll try it out and see if it works out. However, I see a slight flaw, and maybe you can help with this as well. How would I load multiple areas. Such as load one level, then once I get to the end load a new 3rd level and so on and so forth?

avatar image gulcasa Mar 30 '16 at 02:18 PM

A bit late to the party, but you could always pass the name of the level you wish to load as a parameter (for example, name the trigger volume as the exact name of the level to be loaded, capitalization and all, and Get Display Name to retrieve it) and plug said parameter into the Level Name slot of the Open Level function.

(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