OsTerrainFlush
From OpenSimulator
(Difference between revisions)
m (Robot: Replacing 'OpenSim' to 'OpenSimulator', which is the precise name) |
|||
| Line 8: | Line 8: | ||
touch_start() | touch_start() | ||
{ | { | ||
| − | + | osSetTerrainHeight(40, 101, 21.4); | |
osTerrainFlush(); | osTerrainFlush(); | ||
} | } | ||
Revision as of 02:55, 5 July 2015
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 | No permissions specified |
| Extra Delay | No function delay specified |
| Example(s) | |
default { touch_start() { osSetTerrainHeight(40, 101, 21.4); osTerrainFlush(); } } | |