sm.storage.loadTerrainData
Load terrain data for this world if available.
Kind: Function
Environments: Game
Game
sm.storage.loadTerrainData( worldId )
Parameters:
| Name | Type | Description |
|---|---|---|
worldId |
integer | The id of the world to load terrain data for. |
Returns:
| Type | Description |
|---|---|
| any | The data. Any lua object. |