Zum Hauptinhalt springen

Player Animation Cinematic

Play a player animation during a cinematic

Felder

FeldTypStandardBeschreibung
modelIdVar<String>steveThe limb model ID from BetterModel/players folder (e.g., 'steve', 'alex')
positionVar<Position>ORIGINThe fixed world position where the animation will play. Captured once in the editor.
segmentsList<PlayerAnimationSegment>empty—
PlayerAnimationSegment (7)
FeldTypStandardBeschreibung
startFrameInt0—
endFrameInt0—
animationVar<String>—The animation name to play
playModePlayModePLAY_ONCEAnimation play mode: PLAY_ONCE, HOLD_ON_LAST, or LOOPWerte:PLAY_ONCEHOLD_ON_LASTLOOP
lerpInInt6The duration of the lerp in effect (ticks)
lerpOutInt6The duration of the lerp out effect (ticks)
speedFloat1.0The speed multiplier of the animation
Gemeinsame TypeWriter-Felder (criteria)
FeldTypStandardBeschreibung
criteriaList<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.