Player Animation Cinematic
Play a player animation during a cinematic
Поля
| Поле | Тип | По умолчанию | Описание | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | —
|
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
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 LOOPЗначения: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 |
Общие поля TypeWriter (criteria)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
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.