get_consideration_property
Read a single property from a StateTree consideration node by reflection without editing the asset; returns its JSON value, C++ type, and has_value. Use list_considerations first to get the index.
Instructions
Read one property of a consideration node on a StateTree state by reflection, without changing the asset. Returns the value as JSON with its C++ type and has_value; only node struct properties are reachable, not instance data. Find the index with list_considerations.
Returns: { tree_path, state_name, consideration_index, property, type, value, has_value }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | Name of a property on the consideration node struct; case-insensitive. | |
| tree_path | Yes | Asset path of the StateTree, e.g. "/Game/AI/ST_Guard". | |
| state_name | Yes | Name of the state that owns the consideration; the command fails without it. | |
| consideration_index | Yes | 0-based index into the state Considerations, as listed by list_considerations. |