In What Situation Is There A Difference Between COND_OwnerOnly and COND_AutonomousOnly?

So, I understand the premise of both of these conditional replications.

A property set to COND_OwnerOnly would only be replicated to the actor’s owning connection.

A property set to COND_AutonomousOnly would only be sent to actors that are not simulated (according to line 1109 in DataReplication.cpp, it isn’t just interested in ROLE_AutonomousProxy but simply in things that are not ROLE_SimulatedProxy).

With that said, according to this, an actor that is owned by Client 1 will show up as ROLE_AutonomousProxy to Client 1. To Client 2, this actor will show up as ROLE_SimulatedProxy. In this situation, a property with the COND_OwnerOnly or COND_AutonomousOnly condition replication would behave the same.

In what situations would COND_OwnerOnly and COND_AutonomousOnly behave differently?

Thanks for your answers in advance. It’s appreciated.

1 Like

+1 I have the same question. The server has the only authority to replicate it’s properties, no client can replicate those back to server. Therefore, either COND_OwnerOnly or COND_AutonomousOnly will work in an identical way.
Think about a client-owned actor like a pawn controlled by Player1. If the server changes a property, COND_OwnerOnly or COND_AutonomousOnly will send to the owning client(Player1) only.