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

◆ HandleSeatAdjustmentSound()

void HandleSeatAdjustmentSound ( string animSource,
float phase )
protected

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

1529 {
1530 switch (animSource)
1531 {
1532 case "seatdriver":
1533 case "seatcodriver":
1534 EffectSound sound;
1535 if (phase == 0)
1537 else
1539
1540 if (sound)
1541 sound.SetAutodestroy(true);
1542
1543 break;
1544 }
1545 }
string m_CarSeatShiftInSound
Определения CarScript.c:215
string m_CarSeatShiftOutSound
Определения CarScript.c:216
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:603
Wrapper class for managing sound through SEffectManager.
Определения EffectSound.c:5
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Определения EffectManager.c:169
Manager class for managing Effect (EffectParticle, EffectSound)
Определения EffectManager.c:6
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetPosition, m_CarSeatShiftInSound, m_CarSeatShiftOutSound, SEffectManager::PlaySound() и EffectSound::SetAutodestroy().

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