I just finished creating a GUI dialogue creator for my game which exports the text I input into edit boxes into the appropriate format readable by my game (e.g "NPC"=['dialogue1','dialogue2'] ).
Right now I can simply copy and paste it into the text file, but I was wondering if there was any way to paste the output of an 'edit box' to the end of a *.txt document. I've tried INI and TextManipulator, and it worked with INI. But the problem is, it does not work with multiline edit boxes.
A small example of what I want.
Output generated:
NPC =
"Hello I'm awesome"
"And so are you!"
Click 'Save'
Updated Text File:
Player =
"Bla"
"Blabla bla... bla"
Char =
"Melbourne >> Sydney"
NPC =
"Hello I'm awesome"
"And so are you!"
[/code:3jwp20ya]
Something that does that! I'm thinking it's possible with Python and I'm currently researching into it, but I want to know if it's possible without.
Thanks in advance!