GE Lua Documentation

Press F to search!

startByFolder

Definition


-- @/lua/ge/extensions/campaign/campaignsLoader.lua:271

local function startByFolder(path, endCallback)
  local campaignList = getList()
  for _,camp in ipairs(campaignList) do
    if camp.sourcePath == path then
      campaign_campaigns.start(camp, endCallback)
      return
    end
  end
end

Callers