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

◆ PlaySoundEx()

void Car::PlaySoundEx ( string soundset,
EffectSound sound,
out bool soundbool )
inlineprotected

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

2475 {
2476 #ifndef SERVER
2477 if (!sound)
2478 {
2479 sound = SEffectManager.PlaySoundCachedParams(soundset, GetPosition());
2480 if( sound )
2481 {
2482 sound.SetAutodestroy(true);
2483 }
2484 }
2485 else
2486 {
2487 if (!sound.IsSoundPlaying())
2488 {
2489 sound.SetPosition(GetPosition());
2490 sound.SoundPlay();
2491 }
2492 }
2493
2494 soundbool = false;
2495 #endif
2496 }
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:603
bool IsSoundPlaying()
Get whether EffectSound is currently playing.
Определения EffectSound.c:274
bool SoundPlay()
Plays sound.
Определения EffectSound.c:199
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetPosition, EffectSound::IsSoundPlaying(), SEffectManager::PlaySoundCachedParams(), EffectSound::SetAutodestroy() и EffectSound::SoundPlay().

Используется в EEHealthLevelChanged(), PlayCrashHeavySound(), PlayCrashLightSound() и PlaySound().