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

◆ PlaySound()

void PlaySound ( )

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

40 {
41 m_Sound = SEffectManager.PlaySoundOnObject("hungry_uni_Voice_Char_SoundSet", m_Player);
42
43 if( m_Sound )
44 {
45 m_Sound.SetAutodestroy(true);
46 }
47 else
48 {
49 Debug.LogError("Missing sounset");
50 }
51 }
map m_Player
EffectSound m_Sound
Определения HungerSoundHandler.c:18
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
Определения 3_Game/DayZ/tools/Debug.c:305
Определения 3_Game/DayZ/tools/Debug.c:2
static EffectSound PlaySoundOnObject(string sound_set, Object parent_object, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Определения EffectManager.c:247
Manager class for managing Effect (EffectParticle, EffectSound)
Определения EffectManager.c:6

Перекрестные ссылки Debug::LogError(), m_Sound и SEffectManager::PlaySoundOnObject().

Используется в BoatScript::HandleEngineSound(), OnEndServer(), LaughterSymptom::OnGetActivatedServer(), SymptomBase::OnGetActivatedServer(), OnStartServer(), DayZPlayer::OnStepEvent(), OnUpdateClient(), BoatScript::OnVariablesSynchronized(), EntityAI::PlayImpactSound(), EntityAI::PlaySoundByAnimEvent(), DayZPlayer::ProcessAttachmentEvent(), InjurySoundHandlerBase::ProcessSound(), ProcessSound(), DayZCreature::ProcessSoundEvent(), DayZPlayer::ProcessSoundEvent(), DayZCreature::ProcessSoundVoiceEvent(), DayZInfected::ProcessSoundVoiceEvent(), DayZCreature::ProcessStepEvent(), DayZPlayer::ProcessVoiceEvent(), DayZInfected::ProcessVoiceFX(), DayZPlayer::ProcessWeaponEvent(), BarbedWireTrigger::SoundCollision(), ItemBase::SoundCollision(), ItemBase::SoundCut(), BarbedWireTrigger::SoundElectricShock(), ItemBase::SoundElectricShock() и ItemBase::SoundSpark().