LUADOC - Farming Simulator 17

Printable Version

Script v1.4.4.0

Engine v7.0.0.2

Foundation Reference

getTerrainAttributesAtWorldPos

Description
Get terrain attributes at world pos
Definition
getTerrainAttributesAtWorldPos(integer terrainId, float x, float y, float z, boolean xComb, boolean yComb, boolean zComb, boolean wComb, boolean uComb)
Arguments
integerterrainIdid of the terrain
floatxx position
floatyy position
floatzz position
booleanxCombis x combined
booleanyCombis y combined
booleanzCombis z combined
booleanwCombis w combined
booleanuCombis u combined
Return Values
floatxx value
floatyy value
floatzz value
floatww value
floatuu value