add_animation_state
Add an animation state to a specified state machine within an Unreal Engine Animation Blueprint, optionally assigning an animation asset, to streamline automated animation setup.
Instructions
Add an animation state to a State Machine.
Args: anim_blueprint_name: Animation Blueprint name state_machine_name: State machine name state_name: State name (e.g., "Idle", "Walk", "Run", "Jump", "Death") animation_asset: Optional animation sequence asset path
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_animation_state(anim_blueprint_name="/Game/MCP_Test/BP_Example", state_machine_name="ExampleName", state_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_name | Yes | ||
| animation_asset | No | ||
| state_machine_name | Yes | ||
| anim_blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |