setDeepOceanScaler
SET_DEEP_OCEAN_SCALER0xB96B00E976BE977FThe GTA V native SET_DEEP_OCEAN_SCALER of the WATER namespace, as LS:MP client scripts call it: the global function setDeepOceanScaler, in JavaScript and in Lua.
setDeepOceanScaler(intensity: number): voidsetDeepOceanScaler(intensity: number)Usage
JavaScript
setDeepOceanScaler(intensity);Lua
setDeepOceanScaler(intensity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
intensity | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets a value that determines how aggressive the ocean waves will be. Values of 2.0 or more make for very aggressive waves like you see during a thunderstorm.
Works only ~200 meters around the player.
Reference
- Namespace
- Water WATER
- In the game
void SET_DEEP_OCEAN_SCALER(float intensity)- Hash
0xB96B00E976BE977F- Formerly
_SET_WAVES_INTENSITY_SET_CURRENT_INTENSITY