Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Aaddiction on April 27, 2015, 05:43:38 PM
-
Hello,
Is there a way to change the text in .txt file during runtime with pm?
Thanks.
-
If you check Ecosystem there is a "Write to file" action that writes a string to a text file
-
If you check Ecosystem there is a "Write to file" action that writes a string to a text file
Great, this seem to work with path set to C:\asd.txt.
Can I please ask what file path to put for use on mobile device? Only the name: asd.txt?
Thank you.
-
hi,
Maybe, depending on what you need to achieve, playerprefQ (search in forum for it) could be a solution. It saves data like playerpref (key + data) into .txt file. You can save strings into the file.. so edit string during runtime then save it to file with key. It also saves string arrays..
-
Thanks, it works great. I did not know Ecosystem.
I would like to insert a line break otherwise the data is on a single line. How do we do?
-
Hi.
You can use String Add New Line and Build string