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

◆ LoadSoundWeaponEvent()

void LoadSoundWeaponEvent ( )
protected

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

407 {
408 string cfgPath = "CfgVehicles SurvivorBase AnimEvents SoundWeapon ";
409
411
412 int soundCount = g_Game.ConfigGetChildrenCount(cfgPath);
413 for(int i = 0; i < soundCount; i++)
414 {
415 string soundName;
416 g_Game.ConfigGetChildName(cfgPath, i, soundName);
417 string soundPath = cfgPath + soundName + " ";
418 AnimSoundEvent soundEvent = new AnimSoundEvent(soundPath);
419 if(soundEvent.IsValid())
420 m_animSoundEventsAttack.Insert(soundEvent);
421 }
422 }
DayZGame g_Game
Определения DayZGame.c:3942
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
ref array< ref AnimSoundEvent > m_animSoundEventsAttack
Определения dayzplayer.c:593

Перекрестные ссылки g_Game и m_animSoundEventsAttack.

Используется в DayZPlayerType().