DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnSound() [1/2]

float Transport::OnSound ( BoatSoundCtrl ctrl,
float oldValue )
inlineprotected

Is called every sound simulation step. In this callback, user can modify behaviour of sound controllers.

Аргументы
[in]ctrlsound controller identifier,
См. также
BoatSoundCtrl
Аргументы
[in]oldValuealready computed value by the game code
Возвращает
new value of the specified sound controller.

См. определение в файле Boat.c строка 186

187 {
188 // just use the computed value by the game code
189 return oldValue;
190 }