Player Animation Cinematic
Play a player animation during a cinematic
Champs
| Champ | Type | Par défaut | 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 | —
|
| Champ | Type | Par défaut | 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 LOOPValeurs :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 |
Champs TypeWriter communs (criteria)
| Champ | Type | Par défaut | 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.