EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

BehaviorStateEnteredEvent

An AI actor's behavior graph took a transition into a state while it fought (a boss's next phase: a `health_below` transition). Not on a graph's assignment, and not when the actor rests back in the graph's initial state without a foe.

Signature

{ actor: ActorRef, behavior: BehaviorId, definition: ActorDefinitionId, kind: "behavior_state_entered", state: Name }

Fields

NameTypeMeaning
actorActorRefActor whose graph moved on.
Length: 1…256; Pattern: ^[\s\S]+$
behaviorBehaviorIdBehavior graph it runs.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: behavior
definitionActorDefinitionIdDefinition the actor instantiates.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: character|npc|enemy|animal|structure
kind"behavior_state_entered"Discriminant
stateNameState it entered (local ID in the graph).
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$