GE Lua Documentation

Press F to search!

onScreenFadeState

Definition


-- @/lua/ge/extensions/ui/vehicleSelector/vehicleOperations.lua:31

-- Handle fade screen state changes
local function onScreenFadeState(state)
  if callbackAfterFade and state == 1 then
    callbackAfterFade()
    callbackAfterFade = nil
  end
end

Callers

@/lua/ge/extensions/career/modules/inventory.lua
local callbackAfterFade
local function onScreenFadeState(state)
  if callbackAfterFade and state == 1 then
@/lua/ge/extensions/core/recoveryPrompt.lua

local function onScreenFadeState(state)
  -- only proceed if we actually have a recovery request.
@/lua/ge/extensions/flowgraph/nodes/ui/fadeSequence.lua

function C:onScreenFadeState(state)
  if state == 1 then
@/lua/ge/extensions/flowgraph/nodes/ui/fadeFromBlack.lua

function C:onScreenFadeState(state)
  if state == 3 then
@/lua/ge/extensions/flowgraph/nodes/ui/fadeToBlack.lua

function C:onScreenFadeState(state)
  if state == 1 then