Difference between revisions of "LlModifyLand"

From Second Life Wiki
Jump to navigation Jump to search
Line 10: Line 10:
|caveats
|caveats
|constants={{{!}}
|constants={{{!}}
{{!}}-valign="top"
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable}}
!Brush
{{!}}-{{Hl2}}
!colspan="2"{{!}}Brush
!Size
!Size
!Value
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_SMALL_BRUSH}}
{{!}}{{LSLG|LAND_SMALL_BRUSH}}
{{!}}1
{{!}}2m x 2m
{{!}}2m x 2m
{{!}}1
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_MEDIUM_BRUSH}}
{{!}}{{LSLG|LAND_MEDIUM_BRUSH}}
{{!}}2
{{!}}4m x 4m
{{!}}4m x 4m
{{!}}2
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_LARGE_BRUSH}}
{{!}}{{LSLG|LAND_LARGE_BRUSH}}
{{!}}3
{{!}}8m x 8m
{{!}}8m x 8m
{{!}}3
{{!}}}
{{!}}}
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable}}
!Action
{{!}}-{{Hl2}}
!colspan="2"{{!}}Action
!Description
!Description
!Value
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_LEVEL}}
{{!}}{{LSLG|LAND_LEVEL}}
{{!}}0
{{!}}Levels on prim center
{{!}}Levels on prim center
{{!}}0
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_RAISE}}
{{!}}{{LSLG|LAND_RAISE}}
{{!}}1
{{!}}Raises the land
{{!}}Raises the land
{{!}}1
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_LOWER}}
{{!}}{{LSLG|LAND_LOWER}}
{{!}}2
{{!}}Lowers the land
{{!}}Lowers the land
{{!}}2
{{!}}}
{{!}}}
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable}}
!Action
{{!}}-{{Hl2}}
!colspan="2"{{!}}Action
!Description
!Description
!Value
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_SMOOTH}}
{{!}}{{LSLG|LAND_SMOOTH}}
{{!}}3
{{!}}Smooths the land
{{!}}Smooths the land
{{!}}3
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_NOISE}}
{{!}}{{LSLG|LAND_NOISE}}
{{!}}4
{{!}}Makes the land rough
{{!}}Makes the land rough
{{!}}4
{{!}}-
{{!}}-
{{!}}{{LSLG|LAND_REVERT}}
{{!}}{{LSLG|LAND_REVERT}}
{{!}}5
{{!}}Restores to baked value
{{!}}Restores to baked value
{{!}}5
{{!}}}
{{!}}}
{{!}}}
{{!}}}

Revision as of 06:47, 1 March 2007

Summary

Function: llModifyLand( integer action, integer brush );

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

Search JIRA for related Issues

Signature

function void llModifyLand( integer action, integer brush );