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

◆ HandleSeatAdjustmentSound()

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

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

1528 {
1529 switch (animSource)
1530 {
1531 case "seatdriver":
1532 case "seatcodriver":
1533 EffectSound sound = CreateSoundForAnimationSource(animSource);
1534
1535 if (phase == 0)
1537 else
1539
1540 SEffectManager.EffectRegister(sound);
1541 sound.SoundPlay();
1542
1543 break;
1544 }
1545 }
EffectSound CreateSoundForAnimationSource(string animSource)
Определения CarScript.c:1458
string m_CarSeatShiftInSound
Определения CarScript.c:157
string m_CarSeatShiftOutSound
Определения CarScript.c:158
void SetSoundSet(string snd)
Set soundset for the sound.
Определения EffectSound.c:798
bool SoundPlay()
Plays sound.
Определения EffectSound.c:199

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

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