Console
Show declaration
struct Console clearScope;
Basic access to console functionality.
Class Methods
-
static void HideConsole()
-
Hides the console if it is open and
GameState
is notGS_FULLCONSOLE
.
-
static void MidPrint(Font font, string text, bool bold = false)
-
Prints
text
(possibly a LANGUAGE string if prefixed with$
) infont
to the middle of the screen for 1½ seconds. Will print even if the player is a spectator ifbold
istrue
. Uses themsgmidcolor
CVar for non-bold messages andmsgmidcolor2
for bold messages.This is the function used internally by ACS'
Print
andPrintBold
functions.
-
static varArg void PrintF(string fmt, ...)
-
Prints a formatted string to the console.