set_statetree_transition_property
Modify properties of a StateTree transition, such as trigger, priority, or target state, by specifying the asset, transition index, property name, and value.
Instructions
Set a property on a transition (Trigger, Priority, TargetState, Delay, Enabled, etc.).
Args: asset_path: Content path to the StateTree asset transition_index: Index of the transition in the state's Transitions array 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 | ||
| transition_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |