3 override void CreateActionComponent()
12 static const float MINIMUM_BATTERY_ENERGY = 5.0;
40 Transport trans = vehCommand.GetTransport();
44 if (
Class.CastTo(car, trans) && !car.EngineIsOn())
46 if (car.GetHealthLevel(
"Engine") >=
GameConstants.STATE_RUINED)
64 Transport trans = vehCommand.GetTransport();
68 if (
Class.CastTo(car, trans))
81 Transport trans = vehCommand.GetTransport();
85 if (
Class.CastTo(car, trans))
87 car.OnBeforeEngineStart();