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

◆ HandleDoorsSound()

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

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

1593 {
1594 switch (animSource)
1595 {
1596 case "doorsdriver":
1597 case "doorscodriver":
1598 case "doorscargo1":
1599 case "doorscargo2":
1600 case "doorshood":
1601 case "doorstrunk":
1602 EffectSound sound = CreateSoundForAnimationSource(animSource);
1603
1604 if (phase == 0)
1606 else
1608
1609 SEffectManager.EffectRegister(sound);
1610 sound.SoundPlay();
1611
1612 break;
1613 }
1614 }
EffectSound CreateSoundForAnimationSource(string animSource)
Определения CarScript.c:1547
string m_CarDoorCloseSound
Определения CarScript.c:242
string m_CarDoorOpenSound
Определения CarScript.c:241
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().