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 restart LAN game but keep players connected?

So lets say you have a multiplayer LAN game. The round or game is over, now you would like to reset the entire game and put things as if all the players just finished connecting. How would you do this? You could do a console command to restart level but all that does is restarts it, but all players are alone in their own level. How would you reset everything, but keep players connected ( or rejoin them ). You know without making them quit the game and rejoin and all of that. Preferably just a function or event you call to do so quickly.

Product Version: UE 4.13
Tags:
more ▼

asked Oct 19 '16 at 08:38 AM in Blueprint Scripting

avatar image

ha1rtr1gg3r
16 1 5 4

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

1 answer: sort voted first

you must do a server travel by this console command "servertravel Level name"

then all client will travel to another level with server

more ▼

answered Oct 19 '16 at 11:13 AM

avatar image

saeedc
2.3k 71 39 102

avatar image ha1rtr1gg3r Oct 19 '16 at 04:27 PM

This seems to work. Slightly slow but not my biggest concern. I think once when I entered it into console though it loaded separate maps for clients, probably user error though. I'll go add it into my project now. Thanks.

(comments are locked)
10|2000 characters needed characters left
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