trigger_behavior_on_actor
Start a configured gameplay behavior on a Pawn found by label in the editor world, then track it until it ends or is stopped.
Instructions
Start the behavior of a UGameplayBehaviorConfig on a Pawn found by label in the editor world: the config supplies its UGameplayBehavior, whose Trigger runs on the pawn, and the world UGameplayBehaviorSubsystem tracks it until it ends or end_behavior_on_actor stops it. triggered=false means the behavior refused. Runtime only: nothing is saved or undoable. A config without BehaviorClass (see set_behavior_class), no subsystem in the editor world (see get_behavior_subsystem_info), a missing actor or a non-Pawn is an error.
Returns: { config_path: string, actor_label: string, behavior_class: string, triggered: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_label | Yes | Label of the Pawn actor in the editor world to receive the behavior. | |
| config_path | Yes | Content path of the UGameplayBehaviorConfig. |