Page tree
Skip to end of metadata
Go to start of metadata



This command / function has no effect and / or is disabled in VBS4.

Introduced in

Version:3.6

Description

Description:

Returns the height of any snow cover, activated by loadBiotope.

Note: The command only considers variable snow cover depths at the edges of roads, and so on (see the following image), but not in places, where snow is totally missing, or of lower height, due to objects on the ground (for example, above rocks, trash piles, buildings, and so on).

Syntax

Syntax:snowHeight position
Parameters:
  • position: Position-2 - X/Y position on the terrain to check (if Z if provided, it is ignored).
Return Value:Number - Height of snow cover at specified location.

Examples

Examples:
_snow = snowHeight (getPos player)

Additional Information

See also:loadBiotope, lineIntersects, terrainIntersect, fn vbs displacedSnowDepth
Multiplayer:
Problems:

Notes