OsTerrainFlush

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
−
{|  width="100%" style="border: thin solid black"
+
{{osslfunc
−
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
|threat_level=VeryLow
−
|- valign="top"
+
|permissions=ESTATE_MANAGER,ESTATE_OWNER
−
|'''Threat Level''' || VeryLow
+
|delay=0
−
 
+
|function_syntax= osTerrainFlush();  
−
|- valign="top"
+
|ossl_example=<source lang="lsl">
−
|'''Function Syntax''' || <source lang="lsl">
+
−
LSL: null osTerrainFlush();  
+
−
C# : null osTerrainFlush()
+
−
</source>
+
−
|- valign="top"
+
−
|'''Example(s)||<source lang="lsl">
+
 
  default
 
  default
 
  {
 
  {
 
     touch_start()
 
     touch_start()
 
     {
 
     {
−
       osTerrainSetHeight(40, 101, 21.4);
+
       osSetTerrainHeight(40, 101, 21.4);
 
       osTerrainFlush();
 
       osTerrainFlush();
 
     }
 
     }
 
  }
 
  }
 
</source>
 
</source>
 +
|description=Function updates terrain changes to OpenSimulator database. This should be called after all the terrain-changes have been done to update Terrain Data.
  
−
 
+
Used in conjunction with [[OsSetTerrainHeight]]  
−
|}
+
|
−
 
+
}}
−
Function updates terrain changes to OpenSim database. This should be called after all the terrain-changes have been done to update Terrain Data.
+
−
 
+
−
Used in conjunction with [[OsTerrainSetHeight]]  
+
−
 
+
−
[[Category:OSSL Functions]]
+

Latest revision as of 17:35, 1 May 2019

osTerrainFlush();
Function updates terrain changes to OpenSimulator database. This should be called after all the terrain-changes have been done to update Terrain Data.

Used in conjunction with OsSetTerrainHeight

Threat Level VeryLow
Permissions ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
default
 {
    touch_start()
    {
       osSetTerrainHeight(40, 101, 21.4);
       osTerrainFlush();
    }
 }
Personal tools
General
About This Wiki