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 do i replicate set static mesh?

So im trying to make like a prop hunt game for mobile so me and my friends can play and just when i was about to finish i noticed the prop isnt changing its mesh on the client but it does on the server ,so i tried many diffrent ways and looked it up on the internet but there was nothing that helped me , so I want to know if anyone has a solution or a way around this. I would greatly appreciate your help.

Product Version: UE 4.14
Tags:
more ▼

asked Feb 20 '17 at 12:04 AM in Blueprint Scripting

avatar image

Ace7806
15 2 3 8

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

2 answers: sort voted first

You should check set static mesh component to replicate. After that you will be able to change static mesh on server and all clients will change it as well. alt text

more ▼

answered Sep 12 '17 at 01:56 PM

avatar image

Two-faced
842 31 13 47

avatar image Ace7806 Sep 13 '17 at 01:36 AM

How did I not see that (facepalms), thx!

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

I encountered the same problem but the only solution I found was to create an Actor which has a static mesh Component, and a Mesh variable. The Mesh Variable is set to RepNotify and whenever it updates, set runs the set static mesh function on the component. Edit: this is only needed when using a dedicated server. Otherwise setting the component to replicate works fine.

more ▼

answered Feb 20 '17 at 09:48 PM

avatar image

Michaelvogt
11 3

(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