add_state_transition
Adds a state transition between two animation states in an Unreal Engine Animation Blueprint, using a Boolean condition to control when the transition triggers.
Instructions
Add a transition between two animation states.
Args: anim_blueprint_name: Animation Blueprint name state_machine_name: State machine name from_state: Source state name to_state: Destination state name condition_variable: Bool variable to use as transition condition condition_value: Expected value to trigger transition (True/False)
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_state_transition(anim_blueprint_name="/Game/MCP_Test/BP_Example", state_machine_name="ExampleName", from_state="ExampleName", to_state="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_state | Yes | ||
| from_state | Yes | ||
| condition_value | No | ||
| condition_variable | No | ||
| state_machine_name | Yes | ||
| anim_blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |