GSC reference › Built-in

SetWaveWaterHeight()

Built-in (engine) Client

Sets the height of one or all waters in a level

Signature

SetWaveWaterHeight(<water name>, <height>)

Parameters

NameRequired?Details
water nameRequired The name of the water affected, or empty string for all
heightRequired The new height value in world coordinates

Example (from Treyarch's docs)

SetWaveWaterHeight( "huge_lake", 15.0 )

Real uses in BO3's scripts

Called 2 times in the decompiled scripts. A few, zombies first:

Related built-ins

New to GSC?

Start with the basics, or paste a compile error to get the fix.

Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).