add_map_contains_node
Add a Map CONTAINS node to a Blueprint to check whether a specified map variable includes a given key, returning True if the key exists without retrieving its value.
Instructions
Add a Map CONTAINS node - check if a key exists in a Map.
From Ch. 13: Returns True if the Map contains an element with the given key. Does NOT return the value (use FIND for that).
Args: blueprint_name: Blueprint to add the node to map_variable: Map variable name node_position: [X, Y] graph position
KB: see knowledge_base/07_DATA_STRUCTURES.md#overview Example: add_map_contains_node(blueprint_name="/Game/MCP_Test/BP_Example", map_variable="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_variable | Yes | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |