- Documentation
- Server functions
- setWaveHeight
Function
setWaveHeight
Stores the height of waves on water (0-100, 0 by default).
Syntax
bool setWaveHeight(float height)Arguments
heightfloat- Height 0-100.
Returns
true on success.
Example
setWaveHeight(2)
Notes
State for scripts. Waves in the game depend on the weather.