net_set_replication_condition
Set the lifetime replication condition for a Blueprint variable to control network syncing, using options like owner_only or skip_owner, with optional RepNotify mode.
Instructions
Set the lifetime replication condition for a Blueprint variable.
Args: blueprint_name: Actor Blueprint asset name or path. variable_name: Existing Blueprint member variable. replication_condition: Condition such as none, initial_only, owner_only, or skip_owner. replication_mode: replicated, repnotify, or none. save: Save the Blueprint package after mutation. compile: Compile the Blueprint after mutation.
KB: see knowledge_base/20_NETWORKING_AND_REPLICATION.md#mcp-network-tools Example: net_set_replication_condition(blueprint_name="/Game/BP_Door", variable_name="bIsOpen", replication_condition="owner_only")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| compile | No | ||
| variable_name | Yes | ||
| blueprint_name | Yes | ||
| replication_mode | No | replicated | |
| replication_condition | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |