OsTerrainFlush

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m (some syntax modification (may be major or minor))
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=VeryLow
 
|threat_level=VeryLow
|function_syntax=null osTerrainFlush();  
+
|function_syntax=void osTerrainFlush();  
|csharp_syntax=null osTerrainFlush()  
+
|csharp_syntax=void osTerrainFlush()  
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">
 
  default
 
  default

Revision as of 02:37, 2 July 2011

void osTerrainFlush();
C#: void osTerrainFlush()
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

Threat Level VeryLow
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
default
 {
    touch_start()
    {
       osTerrainSetHeight(40, 101, 21.4);
       osTerrainFlush();
    }
 }
Personal tools
General
About This Wiki