Skip to main content

movement.set_speed_scale

Overview

  • Scales a Zoi's walking and running speed, optionally for a limited time. Movement is root-motion driven, so the Zoi's animations play at the same factor and travel speed follows; every animation of the Zoi is affected while scaled. Survives walk/sprint toggles, unlike movement.set_speed. scale=1 restores normal speed. duration>0 restores 1.0 after that many seconds; 0 keeps it until the next call. Not saved.

Metadata

FieldValue
DisplaySet Movement Speed Scale
Categorymovement
AccessScriptCheat
ScopeB1Multicast
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Target entity ID (default: possessed)
scalefloatyes—Speed factor 0.1~5.0 (1.0 = normal)
durationfloatno0Seconds until speed returns to 1.0 (0 = until the next call)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('movement.set_speed_scale', {
entity_id: 0, // optional
scale: 0.0,
duration: 0, // optional
});