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"

Server Travel

Hello, when the server of the session travels to a different map, I want all the clients that were in the previous map to travel to the new map and still be in the same session. How can I achieve this using blueprints?

Product Version: UE 4.19
Tags:
more ▼

asked Jul 17 '18 at 06:21 PM in Blueprint Scripting

avatar image

JuanMG354
6 1 1

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

1 answer: sort voted first

There's two ways, but the one I know is to set your Project settings to use Seamless Travel (Maybe it's in the Game Mode details, I don't remember).

This will result in some events not firing, such as OnPostLogin, because the players never disconnected, so if your logic relies on those, you'll need to find another way to trigger certain things that normally happen when a player joins.

more ▼

answered Jul 18 '18 at 09:47 PM

avatar image

mightyenigma
3.8k 18 23 20

avatar image mightyenigma Jul 18 '18 at 09:49 PM

Also you will have to use a command line execution node to open the level, ServerTravel

rather than the normal Open Level node.

See this: https://answers.unrealengine.com/questions/777901/how-to-use-servertravel-in-blueprints.html

And of course, read the official documentation:

https://docs.unrealengine.com/en-us/Gameplay/Networking/Travelling

(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