stop state sound when playing anim SoundVoice
stop playing of old SoundVoice from anim (if any)
play new SoundVoice from anim
См. определение в файле ZombieBase.c строка 550
551 {
552
553 AnimSoundVoiceEvent voice_event = GetCreatureAIType().GetSoundVoiceEvent(event_id);
554 if (voice_event != null)
555 {
558 {
560 DebugSound(
"[Infected @ " +
this +
"][SoundEvent] InfectedSoundEventHandler - stop all");
561 }
562
565 {
566 DebugSound(
"[Infected @ " +
this +
"][AnimVoiceEvent] Stopping LastAW");
568 }
569
572
574 }
575 }
ref InfectedSoundEventHandler m_InfectedSoundEventHandler
void ProcessSoundVoiceEvent(AnimSoundVoiceEvent sound_event, out AbstractWave aw)
AbstractWave m_LastSoundVoiceAW
void DebugSound(string s)
sound debug messages
Перекрестные ссылки DebugSound(), HandleSoundEvents(), m_InfectedSoundEventHandler, m_LastSoundVoiceAW и ProcessSoundVoiceEvent().