michaelm75au -> RE: Terrain type. Obtain with LUA? (12/9/2019 11:59:26 PM)
|
Note on new Lua method: quote:
Sea print(World_GetLocation({latitude='-16.4183855919871', longitude='111.506732704337'})) { altitude = -4937, cz = { 4 = 96, 1 = 24, 2 = 48, 3 = 72 }, layer = { strength = 0.61, ceiling = -123, floor = -207 } } Land print(World_GetLocation({latitude='51.5052833557129', longitude='-2.27636313438416'})) { slope = 0, cover = { value = 12, text = 'Land: Croplands ' }, altitude = 128 } Additional table items may be added later. --- It is basically trying to show the details available in the cursor block from the map.
|
|
|
|