OsTerrainFlush

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=VeryLow
 
|threat_level=VeryLow
 +
|permissions=ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=0
 
|function_syntax=void osTerrainFlush();  
 
|function_syntax=void osTerrainFlush();  
 
|csharp_syntax=void osTerrainFlush()  
 
|csharp_syntax=void osTerrainFlush()  

Revision as of 18:09, 25 October 2017

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