This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:print [2021/08/08 16:05] – Karsten75 | 4rpl:commands:print [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
Takes one item from the stack and writes it on a new line in a file called RPL.txt in the game’s root content folder, preceded by the identifying information that indicates which unit or component called the PRINT function. Note that this file is truncated (cleared) each time a map is loaded. | Takes one item from the stack and writes it on a new line in a file called RPL.txt in the game’s root content folder, preceded by the identifying information that indicates which unit or component called the PRINT function. Note that this file is truncated (cleared) each time a map is loaded. | ||
- | To avoid having to constantly re-open the RPL.txt file to refresh it, a Windows Powershell commad (or Linus shell command) can be written to monitor the file and show new output. | + | To avoid having to constantly re-open the RPL.txt file to refresh it, a Windows Powershell commad (or Linus shell command) can be written to monitor the file and show new output. The location of RPL.txt can be found in [[cw4: |
Eg. Create a file in the game’s root directory named ShowRPL.PS1. Put this single line in the file | Eg. Create a file in the game’s root directory named ShowRPL.PS1. Put this single line in the file |