GE Lua Documentation

Press F to search!

getDriftChainChainedDrifts

Definition


-- @/lua/ge/extensions/gameplay/drift/drift.lua:822

local function getDriftChainChainedDrifts()
  return driftChainActiveData and driftChainActiveData.chainedDrifts or 0
end

Callers

@/lua/ge/extensions/gameplay/drift/freeroam/cruising.lua
local function detectStart()
  if gameplay_drift_general.getContext() == "inFreeroam" and gameplay_drift_drift.getCurrentDriftDuration() >= driftDuration and gameplay_drift_drift.getDriftChainChainedDrifts() >= minDriftChain then
    tryEnableUI()