2375 {
2376 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
2377
2378 if (newLevel == GameConstants.STATE_RUINED && oldLevel != newLevel)
2379 {
2380 bool dummy;
2381 switch ( zone )
2382 {
2383 case "WindowLR":
2384 case "WindowRR":
2386 {
2387 PlaySoundEx(
"offroad_hit_window_small_SoundSet",
m_WindowSmall, dummy);
2388 }
2389 break;
2390
2391 case "WindowFront":
2392 case "WindowBack":
2393 case "WindowFrontLeft":
2394 case "WindowFrontRight":
2396 {
2397 PlaySoundEx(
"offroad_hit_window_large_SoundSet",
m_WindowLarge, dummy);
2398 }
2399 break;
2400
2401 case "Engine":
2402 #ifndef SERVER
2403 #ifndef NO_GUI
2405 #endif
2406 #endif
2407 break;
2408 }
2409 }
2410 }
ref EffectSound m_WindowSmall
void CreateCarDestroyedEffect()
ref EffectSound m_WindowLarge