OsTerrainFlush

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(New page: LSL: null osTerrainFlush(); C#: null osTerrainFlush() Function updates terrain changes to OpenSim database. This should be called after all the terrain-changes have been done to update ...)
 
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
LSL: null osTerrainFlush();
+
{{osslfunc
C#: null osTerrainFlush()
+
|threat_level=VeryLow
 +
|permissions=ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=0
 +
|function_syntax= osTerrainFlush();  
 +
|ossl_example=<source lang="lsl">
 +
  default
 +
{
 +
    touch_start()
 +
    {
 +
      osSetTerrainHeight(40, 101, 21.4);
 +
      osTerrainFlush();
 +
    }
 +
}
 +
</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.
  
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 [[OsSetTerrainHeight]]
 
+
|
Used in conjunction with osTerrainSetHeight(integer x, integer y, float val)
+
}}
 
+
 
+
NOTE:  INCOMPLETE, needs further data to complete with example
+

Latest revision as of 16: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
Delay 0 seconds
Example(s)
default
 {
    touch_start()
    {
       osSetTerrainHeight(40, 101, 21.4);
       osTerrainFlush();
    }
 }
Personal tools
General
About This Wiki