3488 {
3490 DayZPlayerTypeAnimTable table = type.GetSoundTable();
3491 AnimSoundEvent soundEvent;
3492 if (table)
3493 {
3494 soundEvent = table.GetSoundEvent(pUserInt);
3495 }
3496
3497 if (soundEvent != NULL)
3498 {
3499 if (!
GetGame().IsDedicatedServer())
3500 {
3502 if (GetCommand_Ladder())
3503 {
3505 }
3506 objectBuilder.AddEnvSoundVariables(
GetPosition());
3507
3509 if (soundObject != NULL)
3510 {
3513
3514 if (pUserString == "StopOnAnimEnd")
3516 }
3517 }
3518
3520 {
3521 if (soundEvent.m_NoiseParams != NULL)
3523 }
3524 }
3525 }
proto native NoiseSystem GetNoiseSystem()
ref array< AbstractWave > m_PerformedActionSounds
void SetVariablesLadderSoundObjectBuilder(SoundObjectBuilder soundObjectBuilder)
void AttenuateSoundIfNecessary(SoundObject soundObject)
proto void AddNoise(EntityAI source_entity, NoiseParams noise_params, float external_strenght_multiplier=1.0)
proto native DayZPlayerType GetDayZPlayerType()
returns appropriate DayZPlayerType
proto native CGame GetGame()
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
void SoundObject(SoundParams soundParams)
class JsonUndergroundAreaTriggerData GetPosition
proto native SoundObject BuildSoundObject(SoundObjectBuilder soundObjectbuilder)