From Second Life Wiki
Template:Needs Translation/LSL/de
Template:Needs Translation/LSL/es
Template:Needs Translation/LSL/el
Template:Needs Translation/LSL/he
Template:Needs Translation/LSL/it
Template:Needs Translation/LSL/ko
Template:Needs Translation/LSL/nl
Template:Needs Translation/LSL/hu
Template:Needs Translation/LSL/no
Template:Needs Translation/LSL/da
Template:Needs Translation/LSL/sv
Template:Needs Translation/LSL/tr
Template:Needs Translation/LSL/pl
Template:Needs Translation/LSL/pt
Template:Needs Translation/LSL/ru
Template:Needs Translation/LSL/uk
Template:Needs Translation/LSL/zh-Hans
Template:Needs Translation/LSL/zh-Hant
/LSL
ModifyLand
llModifyLand
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.
Caveats
- This function has no effect if the script's owner is offline or not in the same sim as the scripted object.
- This function has no effect if the scripted object is deeded to a group.
- Playing with this command, I have found that the LAND_SMALL_BRUSH edits a 4m x 4m area. The LAND_MEDIUM_BRUSH and the LAND_LARGE_BRUSH, both edit an 8m x 8m area. However using 0 instead of LAND_SMALL_BRUSH will edit a 2m x 2m area. I have bug reported this, but until it gets fixed, it should be noted. correct values for the brushes are 0, 1 and 2, not 1, 2, and 3. - Bev
- If the script is in a prim that is attached to an avatar, then the local position relative to it's attachment point is used rather than the position within the region.--Dedric Mauriac 03:22, 13 February 2009 (UTC)
Search JIRA for related Bugs