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

◆ OnSound() [2/2]

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

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

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

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

424 {
425 // just use the computed value by the game code
426 return oldValue;
427 }