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
| Name | Type | Meaning |
|---|---|---|
clip | Name | Clip of the actor's rig. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
duration_ticks | MomentTicks | How long the clip shows; absent: its gesture length. Range: 1…1500; Unit: tick |
kind | "play_animation" | Discriminant |
target | ActorRef | Actor the effect applies to. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"clip": "curse",
"duration_ticks": 50,
"kind": "play_animation",
"target": "b1"
}