set_evaluator_property
Set a StateTree evaluator node property by reflection and save the asset, so AI agents can configure node struct values; instance data is not reachable.
Instructions
Write one property of a tree-scoped evaluator node of a StateTree asset by reflection and save the asset. Only node struct properties are reachable, not instance data. Returns value_changed, new_value and saved; the same value again gives value_changed false. Read it back with get_evaluator_property.
Returns: { tree_path, evaluator_index, property, set, value_changed, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New value as JSON: a number, bool or string, or an object for a struct property, applied through FJsonObjectConverter. | |
| property | Yes | Name of a property on the evaluator node struct; case-insensitive. | |
| tree_path | Yes | Asset path of the StateTree, e.g. "/Game/AI/ST_Guard". | |
| evaluator_index | Yes | 0-based index into the tree Evaluators, as listed by list_evaluators; out of range is an error. |