Changes between Version 4 and Version 5 of Scripting/API
- Timestamp:
- 07/28/22 17:26:09 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripting/API
v4 v5 110 110 var customTerrainIndex = wp.installCustomTerrain(terrain) // The Custom Terrain to install on the world. See "Loading a Custom Terrain" 111 111 .toWorld(world) // The world on which to install the Custom Terrain. See "Loading a World" 112 .inSlot(1) // Optional. The Custom Terrain slot from 1 to 24(inclusive) on which to install the terrain. When not specified the first free slot will be used. If there are no free slots an exception will be thrown112 .inSlot(1) // Optional. The Custom Terrain slot from 1 to 96 (inclusive) on which to install the terrain. When not specified the first free slot will be used. If there are no free slots an exception will be thrown 113 113 .go(); // Returns the terrain index to use for actually placing this Custom Terrain using other operations 114 114 }}}