Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Aaddiction on April 27, 2015, 02:43:38 PM

Title: Write to txt file.
Post by: Aaddiction on April 27, 2015, 02:43:38 PM
Hello,

Is there a way to change the text in .txt file during runtime with pm?

Thanks.
Title: Re: Write to txt file.
Post by: mdotstrange on April 28, 2015, 02:47:09 AM
If you check Ecosystem there is a "Write to file" action that writes a string to a text file
Title: Re: Write to txt file.
Post by: Aaddiction on April 28, 2015, 09:33:35 AM
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.
Title: Re: Write to txt file.
Post by: dudebxl on April 29, 2015, 10:24:21 AM
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..