Addlogvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
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).
 
As of eduke32 r9572, the command also supports logging of constants, actors vars, player vars and struct members directly. This will also display the index used to access the struct array.


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

Latest revision as of 03:24, 30 August 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).

As of eduke32 r9572, the command also supports logging of constants, actors vars, player vars and struct members directly. This will also display the index used to access the struct array.