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

◆ HandleDoorsSound()

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

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

1504 {
1505 switch (animSource)
1506 {
1507 case "doorsdriver":
1508 case "doorscodriver":
1509 case "doorscargo1":
1510 case "doorscargo2":
1511 case "doorshood":
1512 case "doorstrunk":
1513 EffectSound sound = CreateSoundForAnimationSource(animSource);
1514
1515 if (phase == 0)
1517 else
1519
1520 SEffectManager.EffectRegister(sound);
1521 sound.SoundPlay();
1522
1523 break;
1524 }
1525 }
EffectSound CreateSoundForAnimationSource(string animSource)
Определения CarScript.c:1458
string m_CarDoorCloseSound
Определения CarScript.c:156
string m_CarDoorOpenSound
Определения CarScript.c:155
void SetSoundSet(string snd)
Set soundset for the sound.
Определения EffectSound.c:798
bool SoundPlay()
Plays sound.
Определения EffectSound.c:199

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

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