Hello! Currently I'm making a game in RPG Maker XP and need there to be a part where the game creates a text file inside the game directory before closing itself, would there be a feasible way to do this?
Creating external .txt files.
RPG Maker XP SupportThere's a very easy way indeed!
Add as many calls to file.puts as deemed necessary.
file.close should be the last line of that file creation section!
Ruby:
file = File.open("your file.txt", "w")
file.puts "Your Message Here"
file.close
Add as many calls to file.puts as deemed necessary.
file.close should be the last line of that file creation section!
Thanks man! :ahappy:
Original thread: https://forums.rpgmakerweb.com/threads/creating-external-txt-files.172418/