Skip to content

Replication

1 tool for an actor's replication settings.

Back to the index.

get_actor_replication_info

Read-only

Read every replication setting of an actor placed in the editor world, found by object name or label (first match): replicates, replicate_movement, replicate_physics (whether the root simulates physics, whose state travels with movement), net_load_on_client, net_use_owner_relevancy, always_relevant, both net update frequencies, the net cull distance (squared as stored, and in cm), dormancy, net priority and the local and remote roles (name and number). Read-only; it reads the placed instance, not a PIE server or client copy, so the roles are the authoring-time ones. Writers: set_properties (replicates, movement), set_properties, set_network_authority (local role).

Parameter Type Required Description
actor_name string yes Object name or label of the actor in the editor world (first match).
actor_label string no Alias of actor_name.

Returns: { actor_label: string, actor_name: string, class_name: string, replicates: bool, replicate_movement: bool, replicate_physics: bool, net_load_on_client: bool, net_use_owner_relevancy: bool, always_relevant: bool, net_update_frequency: float, min_net_update_frequency: float, net_cull_distance_squared: float, net_cull_distance_cm: float, net_dormancy: string, net_dormancy_int: int, net_priority: float, role: string, local_role: int, local_role_name: string, remote_role: int, remote_role_name: string }