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

◆ HandleDoorsSound()

void Car::HandleDoorsSound ( string animSource,
float phase )
inlineprotected

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

1723 {
1724 switch (animSource)
1725 {
1726 case "doorsdriver":
1727 case "doorscodriver":
1728 case "doorscargo1":
1729 case "doorscargo2":
1730 case "doorshood":
1731 case "doorstrunk":
1732 EffectSound sound = CreateSoundForAnimationSource(animSource);
1733
1734 if (phase == 0)
1736 else
1738
1739 SEffectManager.EffectRegister(sound);
1740 sound.SoundPlay();
1741
1742 break;
1743 }
1744 }
EffectSound CreateSoundForAnimationSource(string animSource)
Определения CarScript.c:1677
string m_CarDoorCloseSound
Определения CarScript.c:251
string m_CarDoorOpenSound
Определения CarScript.c:250
void SetSoundSet(string snd)
Set soundset for the sound.
Определения EffectSound.c:794
bool SoundPlay()
Plays sound.
Определения EffectSound.c:199

Перекрестные ссылки CreateSoundForAnimationSource(), SEffectManager::EffectRegister(), m_CarDoorCloseSound, m_CarDoorOpenSound, EffectSound::SetSoundSet() и EffectSound::SoundPlay().

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