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 to teleport to a new level in an endlessrunner

Hi, i finished the endless runner (with first person view) tutorial by epic games. Now my question is how can i set a spot or something like that in the floortile blueprint to get to a new level/map (for example the standart map) and have again full control of a first person character ? Greetings FLY.EXE

Product Version: UE 4.12
Tags:
more ▼

asked Sep 07 '16 at 12:07 PM in Blueprint Scripting

avatar image

fly.exe
6 1 3 5

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

2 answers: sort voted first

Is Level streaming what your looking for? That basically involves taking levels and placing them in the main (or persistent) level through Streaming volumes.

Here is the Documentation: https://docs.unrealengine.com/latest/INT/Engine/LevelStreaming/

Or Are you looking to through up a load screen and move on to a new level? For this All I can do is point you to tutorials:

Open level with options: https://forums.unrealengine.com/showthread.php?55693-Open-Level-with-options

Loading screen: https://forums.unrealengine.com/showthread.php?2786-Loading-Screen

Basic "call to functions" https://answers.unrealengine.com/questions/42175/how-to-call-a-function-from-level-blueprint-to-be.html

Calling an event on "Open Level" https://answers.unrealengine.com/questions/241974/open-level-and-call-an-event-in-a-level-blueprint.html

Hope this helps

more ▼

answered Sep 07 '16 at 02:27 PM

avatar image

Haflurgaflur
187 8 59 23

avatar image fly.exe Sep 08 '16 at 04:43 PM

alt text

Thank you for your answers. The problem is when i press play both levels are loading the starter map and the running track ( like in the UE4 tutorial series). Is it possible if I hit an obstacle that I teleport to the starter level? My idea was when I hit an obstacle while running I will teleport to a new level where i have to fight some enemies and after i killed all enemies i would get back (teleporting) to the running track and so on.

ue4problem.jpg (307.5 kB)
avatar image fly.exe Sep 08 '16 at 04:51 PM

alt text

and so it looks when i hit the stop button.

avatar image Haflurgaflur Sep 08 '16 at 04:56 PM

Give me a couple days on this, I'm currently flogged with college work, so I'll get to it on the weekend. Hopefully sooner.

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

Ok, sorry you had to wait, but I found a very basic answer that could be expanded on. I created a simple trigger, inside a doorway that was referenced in level blueprint. alt text

alt text

Then created a second level and popped it's name into the level name inside the level blueprint in the first level.

Then when the character passes through the trigger the character will open the next level listed inside the current level's blueprint. As far as I know the character will spawn wherever you placed a character start. Hope this helps! alt text

more ▼

answered Sep 11 '16 at 02:51 PM

avatar image

Haflurgaflur
187 8 59 23

avatar image Haflurgaflur Sep 12 '16 at 03:06 AM

Holy crap my grammar, guess that's why I'm getting an Production animation degree.

(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