Hi,
now this is what i call a quick response ;-)
Essentially, the print()-statement does not print anything, if set_console_autoredraw(0) is set, it just writes the string in the console buffer.
I have the follwing code, displaying a user menu on the console:
set_console_autoredraw(0)
cls()
for i=1,menuHeight do
if (i <= #menu) then
print(menu[i])
else
print()
end
end
console_redraw()
set_console_autoredraw(1)
the console covers the whole camera display. Drawing without set_console_autoredraw() is slow and fills the screen line-by-line. Drawing with set_console_autoredraw() is fast and the content of the console is displayed instantly.
Please drop me a line, if this explanation was not sufficient.
Best regards,
heinzM