add_ai_stimuli_source
Adds a UAIPerceptionStimuliSourceComponent to an actor and registers it for an AI sense like Sight, Hearing, or Damage. Idempotent: reruns return the existing component.
Instructions
Adds a UAIPerceptionStimuliSourceComponent to an actor and registers it as a source for the supplied AISense (default Sight). Idempotent: re-run returns the existing component.
Returns: { actor_name: string, component_name: string, sense: string, registered: bool, already_existed: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sense | No | "Sight" | "Hearing" | "Damage" (default "Sight") | |
| actor_name | Yes | Display label or internal name of the target editor-world actor (required) |