I don't need to test my programs. I have an error-correcting modem.

UE2:Console (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Interactions >> Interaction >> Console
Package: 
Engine
Direct subclass:
ExtendedConsole
This class in other games:
RTNP, U1, UT, U2XMP, U2, UT2003, UT2004, UT3, UDK

Console - A quick little command line console that accepts most commands.

Constants[edit]

MaxHistory[edit]

Value: 16


Properties[edit]

bIgnoreKeys[edit]

Type: bool

Ignore Key presses until a new KeyDown is received

bTyping[edit]

Type: bool

Turn when someone is typing on the console

ConsoleKey[edit]

Type: byte

Modifiers: globalconfig

Key used to bring up the console

Default value: 192

History[edit]

Type: string

Array size: 16 (MaxHistory)

Holds the current command, and the history

HistoryBot[edit]

Type: int


Default value: -1

HistoryCur[edit]

Type: int


HistoryTop[edit]

Type: int


TypedStr[edit]

Type: string


Default values[edit]

Property Value
bRequiresTick True

Functions[edit]

Exec functions[edit]

Talk[edit]

exec function Talk ()


TeamTalk[edit]

exec function TeamTalk ()


Type[edit]

exec function Type ()


Events[edit]

Message[edit]

event Message (coerce string Msg, float MsgLife)

Overrides: Interaction.Message


NativeConsoleOpen[edit]

event NativeConsoleOpen ()


NotifyLevelChange[edit]

event NotifyLevelChange ()


Other instance functions[edit]

KeyEvent[edit]

function bool KeyEvent (Interactions.EInputKey Key, Interactions.EInputAction Action, float Delta)

Overrides: Interaction.KeyEvent


States[edit]

Typing[edit]

Typing.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


Typing.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


Typing.KeyEvent[edit]

function bool KeyEvent (Interactions.EInputKey Key, Interactions.EInputAction Action, float Delta)

Overrides: KeyEvent (global)


Typing.KeyType[edit]

function bool KeyType (Interactions.EInputKey Key, optional string Unicode)

Overrides: Interaction.KeyType (global)


Typing.PostRender[edit]

function PostRender (Canvas Canvas)

Overrides: Interaction.PostRender (global)


Typing.Type[edit]

exec function Type ()

Overrides: Type (global)