GE Lua Documentation

Press F to search!

addPath

Definition


-- @/lua/ge/extensions/core/paths.lua:60

local function addPath(path)
  path.id = getNewId()
  table.insert(paths, path)
end

Callers

@/lua/ge/extensions/core/paths.lua
local function createPath(name)
  addPath({name = name, markers = {}, manualFov = true, dirty = true})
  return paths[#paths]
  res.name = pathJsonObj.name
  addPath(res)
  return res
@/lua/ge/extensions/gameplay/rally/cameraPathPlayer.lua
  res.name = pathJsonObj.name
  -- addPath(res)
  return res
@/lua/ge/extensions/editor/camPathEditor.lua
  else
    core_paths.addPath(actionData.path)
  end
  else
    core_paths.addPath(actionData.path)
  end
@/lua/ge/extensions/gameplay/rally/transcripts/entry.lua
  res.name = pathJsonObj.name
  -- addPath(res)
  return res