VE Lua Documentation

Press F to search!

getFrontAirflowSpeed

Definition


-- @/=[C]:-1
function getFrontAirflowSpeed(...)

Callers

@/lua/vehicle/powertrain/combustionEngineThermals.lua

  local airSpeedThroughVehicle = abs(obj:getFrontAirflowSpeed())
  local airRegulatorActive = min((M.engineBlockTemperature > thermostatTemperature and not parentEngine.isDisabled) and (M.engineBlockTemperature - thermostatTemperature) * 0.1 + airRegulatorClosedCoef or airRegulatorClosedCoef, 1)

  local airSpeedThroughVehicle = abs(obj:getFrontAirflowSpeed())