CONTENT CONTRACT · VERSION 1
assign_behavior
Replace the behavior graph of an AI-controlled actor; it starts in the graph's initial state.
Signature
{ behavior: BehaviorId, kind: "assign_behavior", target: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
behavior | BehaviorId | Behavior graph compatible with the actor. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: behavior |
kind | "assign_behavior" | Discriminant |
target | ActorRef | Actor the effect applies to. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"behavior": "core:hill_golem_raging",
"kind": "assign_behavior",
"target": "b1"
}