User Tools

Site Tools


4rpl:commands:print

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
4rpl:commands:print [2021/08/08 12:05] Karsten754rpl:commands:print [2024/02/18 15:01] (current) – [Description] Kalli
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:info:player_log|]].
  
 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
4rpl/commands/print.txt · Last modified: 2024/02/18 15:01 by Kalli