SetOceanWaterLevel: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Connects the game to another server. The connection will happen on the next game tick.}} {{FuncSyntax|SetOceanWaterLevel(Level...")
 
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|Connects the game to another server. The connection will happen on the next game tick.}}
{{FuncDescription|Sets the ocean water level to a specific height.}}


{{FuncSyntax|SetOceanWaterLevel(Level [, bIncludeSwimmingVolume])}}
{{FuncSyntax|SetOceanWaterLevel(Level [, bIncludeSwimmingVolume])}}

Revision as of 13:19, 4 September 2019

SetOceanWaterLevel

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the ocean water level to a specific height.

Syntax

SetOceanWaterLevel(Level [, bIncludeSwimmingVolume])

Parameters

  • Level
    Water level from -200 to 10000
  • bIncludeSwimmingVolume (optional)
    Wheter 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

__EDIT_ME__