Request: Script that writes on txt files then can be used later in game (Like a variable)

MatthewRob

Villager
Member
Joined
May 13, 2015
Messages
28
Reaction score
4
First Language
English
Primarily Uses
I want something to write a variable in a txt file that can be read later by the game. So basically storing a variable in a txt file, then can be used later.

Any idea what to do?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.


As I said, you need to give more information. WHAT is the purpose of writing it to a text file so it can be read later? Why can't you just use the variable, or store it in another variable and use that? How do you get around the issue where there are several games in progress and they are all writing this variable to the same text file (though it might have a different value) and then reading it back? You might end up with one game reading a variable that was set by a different game.


Please explain what you want to achieve, as there may be a better way around it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top