VE Lua Documentation

Press F to search!

shiftDownOnDown

Definition


-- @/lua/vehicle/controller/vehicleController/vehicleController.lua:615

local function shiftDownOnDown()
  if controlLogicModule.shiftDownOnDown then
    controlLogicModule.shiftDownOnDown()
  elseif controlLogicModule.shiftDown then
    controlLogicModule.shiftDown()
  end
end

Callers

@/lua/vehicle/controller/vehicleController/shiftLogic/manualGearbox.lua

local function shiftDownOnDown()
  --print("shift down - onDown")
@/lua/vehicle/controller/vehicleController/vehicleController.lua
  if controlLogicModule.shiftDownOnDown then
    controlLogicModule.shiftDownOnDown()
  elseif controlLogicModule.shiftDown then
@/lua/vehicle/extensions/tech/CANBus/ProjectBavariaShifter.lua
        elseif gear == "M" and electrics.values.gearIndex > 1 then
          controller.mainController.shiftDownOnDown()
          controller.mainController.shiftDownOnUp()