Player Animation Cinematic
Play a player animation during a cinematic
Fields
| Field | Type | Default | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
modelId | Var<String> | steve | The limb model ID from BetterModel/players folder (e.g., 'steve', 'alex') | ||||||||||||||||||||||||||||||||
position | Var<Position> | ORIGIN | The fixed world position where the animation will play. Captured once in the editor. | ||||||||||||||||||||||||||||||||
segments | List<PlayerAnimationSegment> | empty | —
|
| Field | Type | Default | Description |
|---|---|---|---|
startFrame | Int | 0 | — |
endFrame | Int | 0 | — |
animation | Var<String> | — | The animation name to play |
playMode | PlayMode | PLAY_ONCE | Animation play mode: PLAY_ONCE, HOLD_ON_LAST, or LOOPValues:PLAY_ONCEHOLD_ON_LASTLOOP |
lerpIn | Int | 6 | The duration of the lerp in effect (ticks) |
lerpOut | Int | 6 | The duration of the lerp out effect (ticks) |
speed | Float | 1.0 | The speed multiplier of the animation |
Common TypeWriter fields (criteria)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
How to use it
Same segments as the animation cinematic, but the model is placed at the fixed position you captured, so the camera can move freely around it. modelId is a limb model from BetterModel's players folder (for example steve). It is shown only to the player watching.