create_ai_controller_blueprint
Create an Unreal Engine Blueprint parented to AAIController, then compile and save it; returns the asset path or loads the existing asset.
Instructions
Create a Blueprint asset parented to AAIController, compile and save it. Idempotent: if the asset already exists it is loaded and returned.
Returns: { name: string, asset_path: string, parent_class: string, generated_class: string, is_ai_controller: bool, already_existed: bool, created: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Asset name (e.g. BP_EnemyAIController) | |
| force | No | Optional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk. | |
| package_path | No | Target /Game package path (optional, default "/Game/Blueprints") |