Addlogvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
addlogvar <[[gamevar]]>
<span {{code}}>'''addlogvar''' <[[gamevar]]> </span>


Prints the value of <[[gamevar]]> to the console, resulting in it being logged to eduke32.log.
<span {{code}}>'''addlog''' <[[gamevar]]></span>
 
<span {{code}}>'''al''' <[[gamevar]]></span>
 
 
Prints the value of <[[gamevar]]> or <[[gamearray]]> to the console, which will also be stored inside the log file (eduke32.log).
 
Currently does not support logging [[Full_list_of_structure_members|struct members]] directly, and the game will crash upon trying to do so.


[[Category:EDuke commands]]
[[Category:EDuke commands]]

Revision as of 07:13, 10 January 2021

addlogvar <gamevar>

addlog <gamevar>

al <gamevar>


Prints the value of <gamevar> or <gamearray> to the console, which will also be stored inside the log file (eduke32.log).

Currently does not support logging struct members directly, and the game will crash upon trying to do so.