EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

play_animation

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

Signature

{ clip: Name, duration_ticks: (MomentTicks)?, kind: "play_animation", target: ActorRef }

Fields

NameTypeMeaning
clipNameClip of the actor's rig.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
duration_ticksMomentTicksHow long the clip shows; absent: its gesture length.
Range: 1…1500; Unit: tick
kind"play_animation"Discriminant
targetActorRefActor the effect applies to.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "clip": "curse",
  "duration_ticks": 50,
  "kind": "play_animation",
  "target": "b1"
}