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.