GE Lua Documentation

Press F to search!

getStartingArgs

Definition


-- @/=[C]:-1
function getStartingArgs(...)

Callers

@/lua/ge/extensions/util/screenshotCreator.lua
local function isBatch()
  local cmdArgs = Engine.getStartingArgs()
  local probability = 0
@/lua/common/jbeam/loader.lua
if Engine.getStartingArgs then
  local debugVehicleLoading = tableFindKey(Engine.getStartingArgs(), '-debugVehicleLoading')
end
@/lua/ge/server/server.lua
local function patchLoadingContext(ldgCtx)
  local cmdArgs = Engine.getStartingArgs()
  local i = 1
@/lua/ge/client/init.lua
local function createGameViewportCtrl()
  local cmdArgs = Engine.getStartingArgs()
  if tableFindKey(cmdArgs, '-noui') then

local cmdArgs = Engine.getStartingArgs()
@/lua/ge/extensions/core/gamestate.lua

local cmdArgs = Engine.getStartingArgs()
local noUiMode = tableFindKey(cmdArgs, '-noui') -- or tableFindKey(cmdArgs, '-headless') -headless is working differenly than expected and should not be used
@/lua/ge/extensions/tech/techCore.lua

  local cmdArgs = Engine.getStartingArgs()
  local legacyInit = false -- new versions of beamngpy use custom command to open the server, but we need to keep compatibility
@/lua/ge/main.lua
math.randomseed(os.time())
local cmdArgs = Engine.getStartingArgs()
@/lua/ge/extensions/core/commandhandler.lua
  end
  local cmdArgs = Engine.getStartingArgs()
  for i = 1, #cmdArgs do
@/lua/ge/extensions/core/vehicle/manager.lua

local profileVehicleLoading = tableFindKey(Engine.getStartingArgs(), '-profileVehicleLoading')
@/lua/ge/extensions/gameplay/discover.lua
  setExtensionUnloadMode(M, "manual")
  local cmdArgs = Engine.getStartingArgs()
  for i, v in ipairs(cmdArgs) do
@/lua/ge/extensions/tech/partAnnotations.lua

  local cmdArgs = Engine.getStartingArgs()
  for i = 1, #cmdArgs do
@/lua/ge/extensions/util/compileMeshes.lua

  local cmdArgs = Engine.getStartingArgs()
  if tableFindKey(cmdArgs, '-compileMeshesNoCache') then