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

◆ ProcessStepEvent()

void DayZCreature::ProcessStepEvent ( AnimStepEvent step_event)
inlineprivate

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

364 {
365 SoundObjectBuilder soundBuilder = step_event.GetSoundBuilder(GetSurfaceType().Hash());
366 if(soundBuilder == NULL)
367 return;
368
369 soundBuilder.AddEnvSoundVariables(GetPosition());
370 SoundObject soundObject = soundBuilder.BuildSoundObject();
371 AttenuateSoundIfNecessary(soundObject);
372 PlaySound(soundObject, soundBuilder);
373
374 //TODO effects
375 }
void PlaySound()
Определения HungerSoundHandler.c:39
void AttenuateSoundIfNecessary(SoundObject soundObject)
Определения DayZAnimal.c:382
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
void SoundObject(SoundParams soundParams)
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473
proto native SoundObject BuildSoundObject(SoundObjectBuilder soundObjectbuilder)

Перекрестные ссылки AttenuateSoundIfNecessary(), GetPosition(), PlaySound() и SoundObjectBuilder().

Используется в OnStepEvent().