llModifyLand

From Second Life Wiki
Jump to navigation Jump to search

Summary

Function: llModifyLand( integer action, integer brush );
0.0 Forced Delay
10.0 Energy

Modify land with action on brush

• integer action LAND_* flag
• integer brush LAND_*_BRUSH flag

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

Brush Size
LAND_SMALL_BRUSH 1 2m x 2m
LAND_MEDIUM_BRUSH 2 4m x 4m
LAND_LARGE_BRUSH 3 8m x 8m
Action Description
LAND_LEVEL 0 Levels on prim center
LAND_RAISE 1 Raises the land
LAND_LOWER 2 Lowers the land
Action Description
LAND_SMOOTH 3 Smooths the land
LAND_NOISE 4 Makes the land rough
LAND_REVERT 5 Restores to baked value

Examples

Deep Notes

Signature

function void llModifyLand( integer action, integer brush );