I'm working on a game and I have a spreadsheet that holds the stats of all the enemies. (each column of the spreadsheet is one enemy). When working in MSExcel I wrote a macro that would output each column to a text file. The macro would refer to a config sheet's cell to know which directory on my machine to write to, would read an enemy column to find the filename, create the file if it didn't already exist, or overwrite the file if it was already there.
Is there a way via google scripts to replicate this behavior in a google doc? It's very important that I be able to easily write to my local files so that my game can reference those files when it runs.
