stop state sound when playing anim SoundVoice
stop playing of old SoundVoice from anim (if any)
play new SoundVoice from anim
См. определение в файле ZombieBase.c строка 556
557 {
558
559 AnimSoundVoiceEvent voice_event = GetCreatureAIType().GetSoundVoiceEvent(event_id);
560 if (voice_event != null)
561 {
564 {
566 DebugSound(
"[Infected @ " +
this +
"][SoundEvent] InfectedSoundEventHandler - stop all");
567 }
568
571 {
572 DebugSound(
"[Infected @ " +
this +
"][AnimVoiceEvent] Stopping LastAW");
574 }
575
578
580 }
581 }
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().