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:

Changes the snow height within the specified area.

A snow biotope must be loadBiotope, for the command to have an effect.

Modified snow levels will be reset upon a map change, or if resetSnowHeights is executed.

Syntax

Syntax:setSnowHeightArea [pos1, pos2, height, changeLower, changeHigher, network]
Parameters:
  • pos1: Position-2 - Lower left position of area to change.
  • pos2: Position-2 - Upper right position of area to change.
  • height: Number - New snow height as PositionASL.
  • changeLower: Boolean - If true, command will raise snow that is lower than the specified new height. If false, only higher snow levels will be lowered. The changeLower option does not consider snow levels that have been modified by either this command, setSnowHeightRadius, or setBiotope (optional, default: true).
  • changeHigher: Boolean - If true, command will lower snow that is higher than the specified new height. If false, only lower snow levels will be raised. The changeHigher option does not consider snow levels that have been modified by either this command, setSnowHeightRadius, or setBiotope (optional, default: true).
  • network: Boolean - If true, then changes are propagated through the network. If false, then the changes are local (optional, default: false).
Return Value:Nothing

Examples

Examples:
setSnowHeightArea [[8200,2050],[8300,2100],300];

Snow drifts created over area are not normally covered by snow biotopes.

Additional Information

See also:setSnowHeightRadius, resetSnowHeights, snowHeight, setTerrainHeightArea
Multiplayer:
Problems:V3.6: If this command is used to create a snow layer over an area that is normally not covered by snow (for example, roads or runways), then any unit walking across it floats somewhat above the snow.

Notes