См. определение в файле MotorbikeScript.c строка 561
562 {
563 super.EEItemDetached(item, slot_name);
564
565 switch (slot_name)
566 {
567 case "CarBattery":
568 case "TruckBattery":
571 {
574 }
575
577 {
578 LightOff();
579
581 }
582
583 break;
584
585 case "SparkPlug":
586 case "GlowPlug":
590
591 break;
592 }
593
595 {
598 }
599
602 }
proto native void EngineStop()
Stops the engine.
proto native bool EngineIsOn()
Returns true when engine is running, false otherwise.
override void UpdateLights(int new_gear=-1)
void HandleHeatComfortOverrides(string slotName, notnull EntityAI item, bool detach=false)
void UpdateHeadlightState()
Перекрестные ссылки EngineIsOn(), EngineStop(), g_Game, HandleHeatComfortOverrides(), m_BatteryHealth, m_PlugHealth, Synchronize(), UpdateHeadlightState() и UpdateLights().