GE Lua Documentation

Press F to search!

getGameplayContext

Definition


-- @/lua/ge/extensions/gameplay/drag/general.lua:540

local function getGameplayContext()
  return gameplayContext
end

Callers

@/lua/ge/extensions/gameplay/drag/dragTypes/dragPracticeRace.lua

        local context = gameplay_drag_general.getGameplayContext()
        if context == "freeroam" then

        local context = gameplay_drag_general.getGameplayContext()
        if context == "freeroam" then
@/lua/ge/extensions/gameplay/drag/display.lua
  not dragData.racers or
  gameplay_drag_general.getGameplayContext() ~= "freeroam"
  or not ui_gameplayAppContainers.getAppVisibility('gameplayApps', 'drag')