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

◆ HandleSeatAdjustmentSound()

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

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

1747 {
1748 switch (animSource)
1749 {
1750 case "seatdriver":
1751 case "seatcodriver":
1752 EffectSound sound = CreateSoundForAnimationSource(animSource);
1753
1754 if (phase == 0)
1756 else
1758
1759 SEffectManager.EffectRegister(sound);
1760 sound.SoundPlay();
1761
1762 break;
1763 }
1764 }
EffectSound CreateSoundForAnimationSource(string animSource)
Определения CarScript.c:1677
string m_CarSeatShiftInSound
Определения CarScript.c:252
string m_CarSeatShiftOutSound
Определения CarScript.c:253
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().