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

◆ OnSound()

float OnSound ( MotorbikeSoundCtrl ctrl,
float oldValue )
protected

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

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

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

355 {
356 // just use the computed value by the game code
357 return oldValue;
358 }