Skip to main content

vehicle.set_speed_scale

Overview

  • Scales the max forward speed and acceleration of the vehicle the Zoi is riding, optionally for a limited time. Applies only while the Zoi drives it directly in normal driving mode; fails when advanced driving (vehicle physics) is active. Raising applies at once; lowering eases down by 1.0 per second so the car does not stop dead. scale=1 restores normal speed. duration>0 returns to 1.0 after that many seconds; 0 keeps it until the next call. Not saved.

Metadata

FieldValue
DisplaySet Vehicle Speed Scale
Categoryvehicle
AccessScriptCheat
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
scalefloatyes—Speed factor 0.1~3.0 (1.0 = normal)
durationfloatno0Seconds until speed returns to 1.0 (0 = until the next call)
entity_identityIdno—Riding Zoi (default: possessed)

Returns

  • Return shape is not declared for this command.

Usage

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