Mods Studio 2 version: 2019.07 or newer

Written on: November 14th, 2019

 

AppendTextFile Action adds text to the end of a text file. It will create the file if it does not exist.

Parameters

Parameter name Parameter type Supports variables Parameter description
FileName string Yes This is the path to the file to which this action will append text. It is relative to the TempModBuildDirectory.
TextLines List of strings Yes List of strings that get appended to the file. A line break is added between each string in the list.
TextContent string Yes Text that gets appended to the file.

 

NoteTextLines get apended to the file if there is no TextContent defined.

Comments

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.