Mostly Harmless

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

MaxHistory

Value: 16


Properties

bIgnoreKeys

Type: bool

Ignore Key presses until a new KeyDown is received

bTyping

Type: bool

Turn when someone is typing on the console

ConsoleKey

Type: byte

Modifiers: globalconfig

Key used to bring up the console

Default value: 192

History

Type: string

Array size: 16 (MaxHistory)

Holds the current command, and the history

HistoryBot

Type: int


Default value: -1

HistoryCur

Type: int


HistoryTop

Type: int


TypedStr

Type: string


Default values

Property Value
bRequiresTick True

Functions

Exec functions

Talk

exec function Talk ()


TeamTalk

exec function TeamTalk ()


Type

exec function Type ()


Events

Message

event Message (coerce string Msg, float MsgLife)

Overrides: Interaction.Message


NativeConsoleOpen

event NativeConsoleOpen ()


NotifyLevelChange

event NotifyLevelChange ()


Other instance functions

KeyEvent

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

Overrides: Interaction.KeyEvent


States

Typing

Typing.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Typing.EndState

event EndState ()

Overrides: Object.EndState (global)


Typing.KeyEvent

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

Overrides: KeyEvent (global)


Typing.KeyType

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

Overrides: Interaction.KeyType (global)


Typing.PostRender

function PostRender (Canvas Canvas)

Overrides: Interaction.PostRender (global)


Typing.Type

exec function Type ()

Overrides: Type (global)