add_get_game_mode_node
Adds a Get Game Mode node to a Blueprint to retrieve the current GameMode, enabling casting to a custom class for accessing its properties and functions.
Instructions
Add a 'Get Game Mode' node.
Ch.3: Returns the current GameMode. Cast the result to your custom GameMode class (e.g., BP_FPSGameMode) to access its properties/functions.
Args: blueprint_name: Blueprint name node_position: Optional [X, Y] graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_get_game_mode_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |