EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

BehaviorState

One state of a behavior graph.

Signature

{ action: BehaviorAction, id: Name, invulnerable: (boolean)?, music: (AudioCueId)?, pose: (Name)?, status: (StatusId)?, summon: (BehaviorSummon)?, transitions: {BehaviorTransition} }

Fields

NameTypeMeaning
actionBehaviorActionWhat the actor does in this state.
idNameLocal state ID, unique in the graph.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
invulnerablebooleanBlows do the actor no harm while in this state (they show as parried; a boss shut in its shell). Absent: false.
musicAudioCueIdFight music while the actor is in this state, in place of its boss mark's piece (a boss's later phase). Absent: its boss mark's.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue
poseNameClip of its creature body plan the actor shows while in this state instead of its gait and rest (a crab dug into the sand); wind-ups, blows and a hit still show. Absent: the usual clips.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
statusStatusIdStatus the actor bears while in this state: applied on entry and kept on, taken off when it leaves; a status a tool removed (`status.removed_by`) stays off for its regrow time. Absent: none.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: status
summonBehaviorSummonAllies the actor calls when a transition takes it into this state: its squad is topped up to `count` living ones of that kind (entered again, it calls only the missing), arriving around it, fighting in its squad and belonging to its spawn group. Absent: none.
transitions{BehaviorTransition}Transitions checked every tick while the actor fights, in order; at most one is taken. Without a foe the actor rests in the graph's initial state.
Items: 0…16