GE Lua Documentation

Press F to search!

getCurrDriftCompletedTime

Definition


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

local function getCurrDriftCompletedTime()
  return currDriftCompletedTimer / currDriftCompleteTime
end

Callers

@/lua/ge/extensions/gameplay/drift/display.lua
    guiData.realtimeCombo = score.combo
    --guihooks.trigger("setDriftRemainingComboTime", gameplay_drift_drift.getCurrDriftCompletedTime())
    guiData.realtimeRemainingComboTime = gameplay_drift_drift.getCurrDriftCompletedTime()
    --guihooks.trigger("setDriftRemainingComboTime", gameplay_drift_drift.getCurrDriftCompletedTime())
    guiData.realtimeRemainingComboTime = gameplay_drift_drift.getCurrDriftCompletedTime()
    local creepPercent = score.comboCreepup / 100