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

◆ PlaySound()

void PlaySound ( )

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

39 {
40 m_Sound = SEffectManager.PlaySoundOnObject("hungry_uni_Voice_Char_SoundSet", m_Player);
41
42 if( m_Sound )
43 {
44 m_Sound.SetAutodestroy(true);
45 }
46 else
47 {
48 Debug.LogError("Missing sounset");
49 }
50 }
DayZPlayer m_Player
Определения Hand_Events.c:42
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.
Определения Debug.c:245
Определения 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_Player, 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().