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"

Client change character mesh across game

Hello,

I am currently having an issue with replication. I have a host and multiple clients that are within a game and when a player joins, they get a local setting which states which character mesh they are using. From there I want to change the skeletal mesh of the character and make sure it gets update across everyone in the game. All of the players are using the same character blueprint but I want to change the mesh for that current player. I have tried using a remote call to the server but then every character changes and it can only be seen on the one client. I am not sure how to achieve this in blueprints.

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Mar 07 '15 at 10:10 PM in Blueprint Scripting

avatar image

GodFrey
18 3 5 10

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

1 answer: sort voted first

I managed to figure it out using the player controller blueprint and a custom event within the character blueprint that is a server RPC. I also used an update variable in the character blueprint that is repNotify so that if new players join they will also get the update. On the notify for the update variable it will change the mesh. In the custom event, it will update the variable which will trigger the on notify script within the blueprint. I used a switch authority on the player controller blueprint to call the custom event and it only happens on remote authority. Then for the host to change character I called the custom event from the Game blueprint because the host has control over that one. Sorry for the long and convoluted answer.

more ▼

answered Mar 08 '15 at 06:04 PM

avatar image

GodFrey
18 3 5 10

avatar image DAck Games Oct 23 '16 at 01:27 PM

Hi, could you by any chance post a screenshot of this setup?

(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