254 {
256
257 string soundsCfgPath = "CfgVehicles SurvivorBase AnimEvents Sounds ";
258
260 for(int i = 0; i < soundCount; i++)
261 {
262 string soundName;
264 string soundPath = soundsCfgPath + soundName + " ";
265 AnimSoundEvent soundEvent = new AnimSoundEvent(soundPath);
266 if(soundEvent.IsValid())
268 }
269 }
ref map< int, ref AnimSoundEvent > m_AnimSoundEvents
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
proto native int ConfigGetChildrenCount(string path)
Get count of subclasses in config class on path.
proto native CGame GetGame()