GE Lua Documentation

Press F to search!

onGuiUpdate

Definition


-- @/lua/ge/extensions/ui/fadeScreen.lua:69

local function onGuiUpdate()
  if delayedData[1] then
    if delayCounter <= 0 then
      for _, state in ipairs(delayedData) do
        extensions.hook("onScreenFadeState", state)

        if state == 2 and next(cycleArgs) then -- only during full fade cycle
          fadeFromBlack(cycleArgs.fadeOut, cycleArgs.args)
          table.clear(cycleArgs)
        end
      end
      table.clear(delayedData)
    end
    delayCounter = delayCounter - 1
  end
end

Callers

@/lua/ge/extensions/ui/vehicleVicinityApp.lua

local function onGuiUpdate(dtReal, dtSim, dtRaw)
  local data = {objects = {}}
@/lua/ge/extensions/gameplay/rallyLoop.lua

local function onGuiUpdate(dtReal, dtSim, dtRaw)
  profilerPushEvent("gameplay_rallyLoop - onGuiUpdate")
  if rallyLoopManager then
    rallyLoopManager:onGuiUpdate(dtReal, dtSim, dtRaw)
  end
@/lua/ge/extensions/ui/policeInfo.lua

local function onGuiUpdate(dt)
  if not be:getEnabled() or not M.enabled then return end
@/lua/ge/extensions/gameplay/rally.lua

-- local function onGuiUpdate(dtReal, dtSim, dtRaw)
-- end
@/lua/ge/extensions/ui/uiNavi.lua
local mapUpdateUIData = {}
local function onGuiUpdate(dtReal, dtSim, dtRaw)
  table.clear(mapObjects)
@/lua/ge/extensions/gameplay/rally/loop/rallyLoopManager.lua

function C:onGuiUpdate(dtReal, dtSim, dtRaw)
  profilerPushEvent("rallyLoopManager:onGuiUpdate")