GE Lua Documentation

Press F to search!

getAllPaths

Definition


-- @/lua/ge/extensions/gameplay/crawl/saveSystem.lua:655

function M.getAllPaths()
  local pathFiles = M.getAllPathFiles()
  local paths = {}
  for _, filePath in ipairs(pathFiles) do
    local path = M.getPathById(filePath)
    if path then
      table.insert(paths, path)
    end
  end
  return paths
end

Callers

@/lua/ge/extensions/editor/crawlEditor/paths.lua
  if editor_crawlEditor and editor_crawlEditor.markAsDirty then
    local allPaths = editor_crawlEditor.getAllPaths()
    for i, p in ipairs(allPaths) do
@/lua/ge/extensions/editor/crawlEditor/trails.lua
  im.Text("Path:")
  local allPaths = gameplay_crawl_saveSystem.getAllPaths()
  local currentPath = nil