Skip to main content

simulation.set_density

Overview

  • Set an individual density level for a simulation category. Kinds: population (0-10), biz_customer (0-10), vehicle (0-10), animal (0-5). Changing a density automatically switches preset to Custom.

Metadata

FieldValue
DisplaySet Simulation Density
Categorysimulation
AccessScriptCheat
ScopeB1Standalone
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
kindstringyesDensity kind: population, biz_customer, vehicle, animal
valueintyesDensity level (0-10 for most, 0-5 for animal)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('simulation.set_density', {
kind: '',
value: 0,
});