GE Lua Documentation

Press F to search!

setTimer

Definition


-- @/lua/ge/extensions/core/trafficSignals.lua:1264

local function setTimer(val) -- directly sets the timer, which can instantly update the signal states
  if not val then resetTimer() end
  timer = val
end

Callers