Download

Read/Save to Text file?

I’ve been trying to create a read/save function in my player controller class but i don’t know which is best? As soon as i discover a way to save a text file, for example Helloworld.txt, i don’t
know how to save to a specific path? like C:\Here\Helloworld.txt, where do i start?

Might I ask why you’re using text files in the first place? I mean, there are a multitude of other ways to save information and some of which are much more efficient.
However, I recommend saving the file to the Game’s path using the FPaths class to get the path.