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"

Multiplayer and skin

Hello, First, I am sorry for my mistakes but I don't speak english perfectly. I am doing a multiplayer game. I am using a blueprint named "bp_player" for both players. The problem is that they have the same skin... and I would like to begin the game with a menu where they choose their skin...

So, I have tryed something : - in my test_map, where the player spawn at the beginning of the game, i added a widget with 2 buttons to choose player among 2 skins. If you press a button then your skin change and become the skin you would like to have. It was working, BUT the problem is that only the player see the correct skin (the other player see the basic skin and not the skin that the player 1 have chosen). Example : I have two skins named Akai and Paladin. Basic skin is Akai. If player 1 choose Akai and player 2 choose Paladin, then Player 1 will see all players with akai and player 2 will see him with Paladin and player 1 with akai (what they asked for).

How can I do to change my skin and make all player display the correct skin ?

Thank you for your answers !

Have a good day

Product Version: UE 4.20
more ▼

asked Sep 06 '18 at 01:06 PM in Blueprint Scripting

avatar image

12 1 3 7

avatar image mightyenigma Sep 06 '18 at 02:14 PM

Is this a problem over a networked multiplayer game or are both players on the same computer?

avatar image Elites94 Sep 06 '18 at 02:21 PM

Networked multiplayer game. But it change nothing because when i begin the project i was with both player on the same computer and i wasn't able to change skin either... :/ But at the moment i am in a networked multiplayer game

avatar image mightyenigma Sep 06 '18 at 02:23 PM

OKay. Can you show us the code where you are trying to change the skin? Maybe you have the right idea and just need a small adjustment.

avatar image Elites94 Sep 06 '18 at 02:32 PM

This is where i change my skin : https://image.noelshack.com/fichiers/2018/36/4/1536244259-capture-d-ecran-7.png

In my widget you have 2 buttons to choose your skin. I change the skin and the animBP

avatar image mightyenigma Sep 06 '18 at 02:41 PM

I see in your blueprint screenshot where you have the buttons change the skin for player 0. where do you change the skin for the other player?

avatar image Elites94 Sep 06 '18 at 02:49 PM

In fact, when you are in multiplayer networked game, all player think they are player 0. (It is what i read) For example client 1 think he is player 0 and think that client 2 is player 1. Client 2 think he is player 0 and think that client 1 is player 1. It is the reason why i can't use the player index :/

avatar image mightyenigma Dec 02 '18 at 06:06 PM

I think we figured this out in another post, right?

(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