EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

play_animation

Show an animation clip on an actor after commit; purely visual.

Signature

{ animation: AnimationId, duration_ticks: PositiveTicks, kind: "play_animation", target: ActorRef }

Fields

NameTypeMeaning
animationAnimationIdClip compatible with the actor's character.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: animation
duration_ticksPositiveTicksHow long the clip shows.
Range: 1…2147483647; Unit: tick
kind"play_animation"Discriminant
targetActorRefActor the effect applies to.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "animation": "core:hill_golem_roar",
  "duration_ticks": 50,
  "kind": "play_animation",
  "target": "b1"
}