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