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
Next revision
Previous revision
4rpl:commands:print [2021/02/22 00:09] – [Description] Changed reference to "PRPL.txt" qople4rpl:commands:print [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<=[[4rpl:start#Output| Output]]
  
 ====== Print ====== ====== Print ======
Line 8: 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.1613952556.txt.gz · Last modified: 2025/02/14 14:56 (external edit)