add_get_player_character_node
Add a Get Player Character node to a Blueprint to retrieve the player character reference for gameplay logic. Specify blueprint name and optional player index.
Instructions
Add a 'Get Player Character' node.
Args: blueprint_name: Blueprint name player_index: Player index (usually 0) node_position: Optional graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_get_player_character_node(blueprint_name="/Game/MCP_Test/BP_Example")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blueprint_name": "<blueprint_name>"
},
"name": "add_get_player_character_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_index | No | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |