I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:Console (U2)

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

Console: A player console, associated with a viewport. This is a built-in Unreal class and it shouldn't be modified.

Properties[edit]

bNoDrawWorld[edit]

Type: bool


ExecListeners[edit]

Type: array<Object>

Modifiers: private


FrameX[edit]

Type: float


FrameY[edit]

Type: float


PlugIn[edit]

Type: array<Object>

Modifiers: config

Must be a subclass of ConsolePlugIn

Viewport[edit]

Type: Viewport


vtblOut[edit]

Type: int

Modifiers: private, const


Enums[edit]

See Console enums.

Functions[edit]

Static functions[edit]

ShowStatusMessage[edit]

static function ShowStatusMessage (PlayerController P, coerce string Msg, optional float Time, optional Font Font, optional Object.Color Color, optional Sound Sound, optional float Volume, optional float Pitch, optional string Holder, optional string Label, optional bool bClearExisting, optional float WrapX, optional bool bReverseOrder)


Native functions[edit]

AddExecListener[edit]

native function AddExecListener (Object Listener)


ConsoleCommand[edit]

native interface function bool ConsoleCommand (coerce string S)


ConsoleCommandEx[edit]

native function string ConsoleCommandEx (coerce string S)


RemoveExecListener[edit]

native function RemoveExecListener (Object Listener)


TextSize[edit]

native final function TextSize (Font Font, coerce string String, out float XL, out float YL)


Events[edit]

ConnectFailure[edit]

event ConnectFailure (string FailCode, string URL)


KeyEvent[edit]

event bool KeyEvent (EInputKey Key, EInputAction Action, float Delta)


KeyType[edit]

event bool KeyType (EInputKey Key)


Message[edit]

event Message (coerce string Msg, float MsgLife)


NotifyLevelChange[edit]

event NotifyLevelChange ()


PostRender[edit]

event PostRender (Canvas C)


PreRender[edit]

event PreRender (Canvas C)


Tick[edit]

event Tick (float Delta)


VideoChange[edit]

event VideoChange ()


Other instance functions[edit]

AddString[edit]

function AddString (coerce string Msg)


ClearMessages[edit]

function ClearMessages ()


DisableDrawWorld[edit]

function DisableDrawWorld ()


EnableDrawWorld[edit]

function EnableDrawWorld ()


FormatFloat[edit]

final function string FormatFloat (float f)


TimedMessage[edit]

function TimedMessage (coerce string Msg, optional float Duration, optional Font Font, optional Object.Color Color, optional string Holder, optional string Label, optional bool bClearExisting, optional float WrapX, optional bool bReverseOrder)