DayZ 1.27
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 строка 445

446 {
447 // just use the computed value by the game code
448 return oldValue;
449 }