set_statetree_state_property
Set a state property (Name, Type, etc.) in a StateTree asset. Specify the asset path, property name, value, and optionally state by index, name, or GUID.
Instructions
Set a property on a state (Name, Type, SelectionBehavior, Enabled, Tag, Weight, etc.).
Args: asset_path: Content path to the StateTree asset property_name: Property to set value: New value state: State index path state_name: State name state_guid: State GUID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| value | Yes | ||
| asset_path | Yes | ||
| state_guid | No | ||
| state_name | No | ||
| property_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |