GE Lua Documentation

Press F to search!

saveStrip

Definition


-- @/lua/ge/extensions/gameplay/drag/saveSystem.lua:595

M.saveStrip = function(strip, filePath)
  return jsonWriteFile(filePath, strip, true)
end

Callers

@/lua/ge/extensions/editor/dragRaceEditor/strips.lua
  local filePath = levelPath .. strip.id .. ".strip.json"
  return dragSaveSystem.saveStrip(strip, filePath)
end
    if strip then
      M.saveStrip(strip)
    end