Difference between revisions of "Debug Dumps"

72 bytes added ,  05:56, 19 September 2014
m
imported>Odessa
(Added new NVSE 4.5.7 stuff)
imported>Odessa
 
Line 105: Line 105:
<pre>
<pre>
; * Player inventory
; * Player inventory
     Print "Player Invenory: "
     Print "Player Inventory: "
     let LastEcho := SetConsoleEcho 1
     let LastEcho := SetConsoleEcho 1
     PlayerREF.Con_Inv
     PlayerREF.Con_Inv
     SetConsoleEcho LastEcho
     SetConsoleEcho LastEcho
</pre>
     Print " * End Inventory *"
     Print " * End Inventory *"
</pre>
</pre>
The [[Con_Inv]] command is equivalent to typing [[ShowInventory|Inv]] into the game console to print the contents of an inventory. This command requires console echo to be toggled on.
The [[Con_Inv]] command is equivalent to typing [[ShowInventory|Inv]] into the game console to print the contents of an inventory. This command also requires console echo to be toggled on. (You can just toggle it on once at start, if you need it multiple times)


===Array dumping===
===Array dumping===
Anonymous user