GE Lua Documentation

Press F to search!

getMissionReplaysPath

Definition


-- @/lua/ge/extensions/core/replay.lua:440
M.getMissionReplaysPath = function() return missionReplaysPath end

Callers

@/lua/ge/extensions/flowgraph/modules/missionReplayModule.lua
function C:executionStarted()
  dir = core_replay.getMissionReplaysPath()
end
@/lua/ge/extensions/core/replay.lua
  -- add all the missions replays that have been automatically recorded
  for i, file in ipairs(FS:findFiles(M.getMissionReplaysPath(), '*.rpl', 0, false, false)) do
    table.insert(filesWithUserSaved, {file = file})