3 protected CarControllerComponent m_pCarController;
4 protected CarControllerComponent_SA m_pCarController_SA;
14 if (!m_pCarController)
20 VehicleWheeledSimulation simulation = m_pCarController.GetSimulation();
21 if (simulation && simulation.GetSpeedKmh() > 1)
28 if (!m_pCarController_SA)
34 VehicleWheeledSimulation_SA simulation = m_pCarController_SA.GetSimulation();
35 if (simulation && simulation.GetSpeedKmh() > 1)
44 override void DisplayInit(IEntity owner)
46 super.DisplayInit(owner);
48 m_pCarController = CarControllerComponent.Cast(owner.FindComponent(CarControllerComponent));
50 m_pCarController_SA = CarControllerComponent_SA.Cast(owner.FindComponent(CarControllerComponent_SA));