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())
421 }
422 }
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
ref array< ref AnimSoundEvent > m_animSoundEventsAttack