I am trying to create a text log, so that I can create my own messages to store in the log and review after I close the preview, or view logs generated from a user running my game on another PC. I am not trying to save the current state of the game, or store individual variable values (although I would likely copy variable values into some messages that would get printed in the log). I have a basic set of events using “save a text into a file” but it appears to be overwriting any text already in the file, i.e. I cannot save multiple lines of text like I am intending.
For a simple example, I would like “game started” to be printed when the preview starts, then “player turn” or “opponent turn” whenever it is the player or opponent’s respective turn. So I would expect:
game started
player’s turn
opponent’s turn
player’s turn
…
But instead after multiple turns, the file is only one line:
opponent’s turn