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

◆ HandleSeatAdjustmentSound()

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

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

1617 {
1618 switch (animSource)
1619 {
1620 case "seatdriver":
1621 case "seatcodriver":
1622 EffectSound sound = CreateSoundForAnimationSource(animSource);
1623
1624 if (phase == 0)
1626 else
1628
1629 SEffectManager.EffectRegister(sound);
1630 sound.SoundPlay();
1631
1632 break;
1633 }
1634 }
EffectSound CreateSoundForAnimationSource(string animSource)
Определения CarScript.c:1547
string m_CarSeatShiftInSound
Определения CarScript.c:243
string m_CarSeatShiftOutSound
Определения CarScript.c:244
void SetSoundSet(string snd)
Set soundset for the sound.
Определения EffectSound.c:794
bool SoundPlay()
Plays sound.
Определения EffectSound.c:199

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

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