SetOceanWaterLevel

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetOceanWaterLevel

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the ocean water level to a specific height. Basically the Z location (height).

Syntax

SetOceanWaterLevel(Level [, bIncludeSwimmingVolume])

Parameters

  • Level
    Water level from -200 to 10000
  • bIncludeSwimmingVolume (optional)
    Whether the swimming volume should also be set to the water level. false means you will be able to walk underwater.

Return Value

  • This function does not return anything.

Example

__EDIT_ME__

See also