Modify land with action on brush

Syntax

void llModifyLand( integer action, integer brush );
integer LAND_SMALL_BRUSH = 1;//Should do 2m x 2m but does 4m x 4m
integer LAND_MEDIUM_BRUSH = 2;//Should do 4m x 4m but does 8m x 8m
integer LAND_LARGE_BRUSH = 3;//8m x 8m

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

integer action
LAND_* flag
integer brush
LAND_*_BRUSH flag

The position of the prim is used to determine the input for various flags.

Constants

ActionDescription
LAND_LEVEL0Levels on prim center
LAND_RAISE1Raises the land
LAND_LOWER2Lowers the land
LAND_SMOOTH3Smooths the land
LAND_NOISE4Makes the land rough
LAND_REVERT5Restores to baked value
BrushValueSize
LAND_SMALL_BRUSH02m x 2m
LAND_MEDIUM_BRUSH14m x 4m
LAND_LARGE_BRUSH28m x 8m
The constant values in the compiler are wrong.
Use these values instead.

Caveats

Examples

default
{
    state_entry()
    {
        llSetTimerEvent(0.1);
    }
    
    timer()
    {
        llModifyLand(LAND_LEVEL, 0);
    }
}

Deep notes

Issues