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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

What is the significance of Replication Condition?

I need to know when should one use the replication condition. By default this property is None. The other options are Initial only, Owner only, Skip Owner, Simulated only etc....

The documentation on Epic site doesn't describe it in detail and only defines it. Does this condition have a bearing on performance?

regards,

Praveen

Product Version: UE 4.18
Tags:
more ▼

asked May 03 '18 at 02:42 PM in Blueprint Scripting

avatar image

Acclivous
16 3 4 5

avatar image Acclivous May 04 '18 at 03:57 AM

Hi,

Thanks for the link. I did study this and tried various modes, and found the best results with Simulated Only.

The issue I have been facing is one that of Jitter on the client. If you know how to resolve this, it would be a great help. I have been grappling with this for 2 months now.

I have an Static Mesh Actor class blueprint (not pawn or character), which has a another static mesh component. This is being moved using a timeline. The timeline fires repeatedly depending on a dice throw result. While the motion on listen server is perfectly fine, the same on the client is not. It throws up random jitters at times and there seems to be no pattern to it. What could it be due to? I have managed to reduce this jitter by tinkering with the values of Net Update Frequency and also Replication condition. But it is still there to the extent of 10% of the times that I run a session.

Can you help or point to a solution? I am using Blueprints only and not any C++..

Thanks,

Praveen

avatar image goncasmage May 04 '18 at 07:59 AM

Hmm well that is a different question, so I'd recommend you create a new question, given that this isn't my area of expertise ;)

avatar image Acclivous May 04 '18 at 12:22 PM

Thanks anyways.. I did manage to solve the jitter problem. I used RepNotify and therefore a function is called straightoff immediately after the variable value changes. This solved the problem for ever.

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

1 answer: sort voted first

You'll find that information here: https://docs.unrealengine.com/en-us/Gameplay/Networking/Actors/Properties/Conditions

If you've got any more questions let me know ;)

more ▼

answered May 03 '18 at 04:06 PM

avatar image

goncasmage
897 12 14 22

avatar image Commander Shepard Aug 09 '18 at 12:32 AM

@goncagoncasmage Do you know if COND_InitialOnly means once for the entire life of the actor or does it means once each time the actor becomes relevant?

(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