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 load variables to a server from a client's save Game?

hello everyone I am building a multiplayer game where a player is able to pick there name, and save that variable to a savegame. How can i make it so that their name from the savegame displays on the server.

Is this even possible? If anyone knows how to do something like this, that would be awsome. Because i've posted several times on the forums but no one seems to answers. This is a crucial part of my game, and i need it working before i can continue. Plz help!

WHAT I HAVE TRYED SO FAR: The player loads up a menu that asks them their name, they type it in and it makes a savegame to their computer. Then, when the player joins a multiplayer server, when the game starts it launched an event on the server that sets the text above the players head based on the clients variable.

THE RESULT: is that everyone is named the exact same name. So if i named myself caelan, and joined a game, now suddenly everyone on the server is named caelan! This obviosly is not the desire effect. Because they should display their own name above there head.

Product Version: UE 4.8
more ▼

asked Jul 29 '15 at 05:38 PM in Blueprint Scripting

avatar image

48 8 15 16

avatar image ScruffyHollywood Jul 29 '15 at 09:19 PM

What about having an array of say 16 players, and as each person logs in the server matches their name with the variables in the array? I want to say Replication, but you probably know that already.

avatar image caelanim8ter Jul 30 '15 at 02:00 AM

Okay so like i assume that i would create the array in the level blueprint. but im not sure what you mean by "Matches their name with the variable in the array" I figure i just want to have each player named the appropriate name based on their save game. alt text

here is what i have so far, on the character blueprint, the player will load, the names from the save game onto the player. But even so If you remeber THE RESULT, thats what happens the wrong name is above the wrong heads.

1_imgs.png (408.4 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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