Draw Debug Logs (Modding Tool)
Adds some global functions that aid in dumping Lua data types to either the screen or to a file.
Also adds an ingame button that clears all the lines, the button is hidden when there are no lines.
dout – appends a line to the screen
ddraw – clears any previous lines and shows only this line
ddump – appends to a ddump.txt file that will be created inside steamappscommonTotal War WARHAMMER II
usage:
all the functions accept a variable number of arguments, i.e.
You can also call without any arguments to clear lines, for example before multiple douts:
Intended for use with Execute External Lua File, call the functions from there for speedy visual debugging.
Still works and it’s not outdated, not gonna bother updating it for no reason every patch.