GE Lua Documentation

Press F to search!

getIsThereAnyDriftUIAppDisplayed

Definition


-- @/lua/ge/extensions/gameplay/drift/general.lua:203

local function getIsThereAnyDriftUIAppDisplayed()
  local gameplayContextDriftLoaded = ui_gameplayAppContainers.getAppVisibility('gameplayApps', 'drift')
  local containerMounted = ui_gameplayAppContainers.getGameplayAppContainerMounted()
  local l = (driftAppMounted and gameplayContextDriftLoaded and containerMounted)
  or (driftAppMounted and not containerMounted)

  return l
end

Callers

@/lua/ge/extensions/gameplay/drift/general.lua
local function checkIfSoundShouldPlay()
  if getIsThereAnyDriftUIAppDisplayed() then
    if not gameplay_drift_sounds then
@/lua/ge/extensions/gameplay/drift/display.lua
local function updateApps(dtReal)
  if not gameplay_drift_general.getIsThereAnyDriftUIAppDisplayed() then return end