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 create teleport between two levels ?

Hello everybody ! I'm actually creating an RPG game but I encountered some difficulties for the teleport system between two levels. For example, I have a level for a fortress and I have another one for the surrounding forest. So I would like to bound them via the gate. I'm French so I hope you've understood me. Thanks.

Product Version: UE 4.9
Tags:
more ▼

asked Jan 07 '16 at 05:35 PM in Blueprint Scripting

avatar image

Charognard
8 3 6 6

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

4 answers: sort voted first

You could just use the node "Open Level" when interacting with the door and open the appropriate level.

If you have multiple locations you will have to add a "SpawnPoint" type of thing which you provide to the level when you move into it so it can place you in the correct spawn location and you can have more than one per level which would be quite restraining.

more ▼

answered Jan 07 '16 at 05:41 PM

avatar image

Erasio
5.9k 291 86 293

avatar image Charognard Jan 07 '16 at 07:06 PM

Thanks for your answer. But can you explain me more precisely what is "SpawnPoint" and how to use it because I didn't find it. Thank you again !

avatar image Erasio Jan 07 '16 at 07:52 PM

That's something you will have to add by yourself.

You could use a "target point" which is already an object with no visible element. You could use "Player Start"s. You could do your own actor.

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

Hello Charognard,

I had similar question at some point and this tutorial helped me: https://www.youtube.com/watch?v=Dfq0lwMUx3c The part that is interesting for you starts at around 9 minutes. There he demonstrates the use of the "Open Level"-Node.

Good luck, Univise

more ▼

answered Jan 07 '16 at 07:32 PM

avatar image

Univise
201 9 10 22

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

Ok thanks, but it does two hours I'm searching for a solution, but it doesn't work. I create two levels. One of them contains a teleport blueprint with "open level" node to the other one which contains a "player start" component. Sorry but I really don't see how it work. Please can someone help me ?

more ▼

answered Jan 07 '16 at 09:59 PM

avatar image

Charognard
8 3 6 6

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

In fact, what I change map, only the camera is teleported but my character doesn't follow. Secondly, I can't change the origin location and rotation of it. Please can somebody help me ?

more ▼

answered Jan 08 '16 at 04:30 PM

avatar image

Charognard
8 3 6 6

(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