Перейти к содержанию

Water::setWavesIntensity

Материал из RAGE MP Wiki Archive
Версия от 21:35, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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.

Most likely SET_CURRENT_*

Syntax

<syntaxhighlight lang="javascript">mp.game.water.setWavesIntensity(intensity);</syntaxhighlight>

Required Arguments

  • intensity: float

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Water s function c