SculptTerrain

Family: World · One form

What it does

SculptTerrain takes id (a string), x (a float), z (a float), mode (a string), radius (a float) and strength (a float), and answers an integer.

Syntax

SculptTerrain(id string, x float, z float, mode string, radius float, strength float) → integer

Parameters

NameType
idstring
xfloat
zfloat
modestring
radiusfloat
strengthfloat

Every form returns

integer

Example · generated

DO  Print(SculptTerrain("value", 100.0, 100.0, "value", 1.0, 0.5))  Sync()LOOP

SculptTerrain is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

40 commands in World