net_set_role_override
Adds a role-switch helper node to an Actor Blueprint for authority/role-specific execution paths, enabling network-aware flow control.
Instructions
Add a role-switch helper node for authority/role-specific Blueprint flow.
Args: blueprint_name: Actor Blueprint asset name or path. node_position: Optional [X, Y] graph position. 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_role_override(blueprint_name="/Game/BP_Door", node_position=[400, 0])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| compile | No | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |