Difference between revisions of "LlModifyLand"

From Second Life Wiki
Jump to navigation Jump to search
Line 61: Line 61:
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_REVERT}}
{{!}}{{LSLG|LAND_REVERT}}
{{!}}Restores to baked value.
{{!}}Restores to baked value
{{!}}5
{{!}}5
{{!}}}
{{!}}}

Revision as of 19:00, 20 February 2007

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 Value
LAND_SMALL_BRUSH 2m x 2m 1
LAND_MEDIUM_BRUSH 4m x 4m 2
LAND_LARGE_BRUSH 8m x 8m 3
Action Description Value
LAND_LEVEL Levels on prim center 0
LAND_RAISE Raises the land 1
LAND_LOWER Lowers the land 2
Action Description Value
LAND_SMOOTH Smooths the land 3
LAND_NOISE Makes the land rough 4
LAND_REVERT Restores to baked value 5

Examples

Deep Notes

Signature

function void llModifyLand( integer action, integer brush );