GE Lua Documentation

Press F to search!

clearCrawlerExitPoint

Definition


-- @/lua/ge/extensions/gameplay/crawl/boundary.lua:385

-- Function to clear exit point for a specific crawler
local function clearCrawlerExitPoint(crawlerId)
  if crawlerExitPoints[crawlerId] then
    crawlerExitPoints[crawlerId] = nil
    crawlerDNFApplied[crawlerId] = nil
    log('D', logTag, string.format('Cleared exit point and DNF flag for crawler %s', crawlerId))
  end
end

Callers

@/lua/ge/extensions/gameplay/crawl/utils.lua
  if gameplay_crawl_boundary and gameplay_crawl_boundary.clearCrawlerExitPoint then
    gameplay_crawl_boundary.clearCrawlerExitPoint(crawlerId)
  end