Changes between Version 4 and Version 5 of Scripting/API


Ignore:
Timestamp:
07/28/22 17:26:09 (22 months ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripting/API

    v4 v5  
    110110var customTerrainIndex = wp.installCustomTerrain(terrain) // The Custom Terrain to install on the world. See "Loading a Custom Terrain"
    111111    .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 thrown
     112    .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
    113113    .go(); // Returns the terrain index to use for actually placing this Custom Terrain using other operations
    114114}}}