3609 {
3610#ifndef NO_GUI
3612 DayZPlayerTypeAttachmentSoundLookupTable table = type.GetAttachmentSoundLookupTable();
3613
3614 array<string> attachments = new array<string>();
3615 pUserString.
Split(
",", attachments);
3616 for (int i = 0; i < attachments.Count(); i++)
3617 {
3618 int attachmentHash = -1;
3619 if (attachments[i] == "shoulder")
3621 else if (attachments[i] == "body")
3623 else if (attachments[i] == "back")
3625
3627
3628 if (soundBuilder != NULL)
3629 {
3630 SoundObject soundObject = soundBuilder.BuildSoundObject();
3631 if (soundObject != NULL)
3632 {
3635 }
3636 }
3637 }
3638#endif
3639 }
AnimBackType GetBackAttachmentType()
void AttenuateSoundIfNecessary(SoundObject soundObject)
AnimRangedWeaponType GetShoulderAttachmentType()
AnimUpperBodyType GetBodyAttachmentType()
SoundObjectBuilder GetSoundBuilder(int eventId, string slotName, int attachmentHash)
proto native DayZPlayerType GetDayZPlayerType()
returns appropriate DayZPlayerType
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
void SoundObject(SoundParams soundParams)
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.