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

UE3:ScriptConsoleEntry (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UIPanel >> ScriptConsoleEntry
Package: 
Engine
This class in other games:
UT3

Example of how to setup a complex widget which contains child widgets in unrealscript.

Constants[edit]

CONSOLE_PROMPT_TEXT[edit]

Value: "(> "


Properties[edit]

InputBox[edit]

Type: UIEditBox


Default value: UIEditBox'Engine.Default__ScriptConsoleEntry:ConsoleInputTemplate'

LowerConsoleBorder[edit]

Type: UIImage


Default value: UIImage'Engine.Default__ScriptConsoleEntry:LowerBorderTemplate'

UpperConsoleBorder[edit]

Type: UIImage


Default value: UIImage'Engine.Default__ScriptConsoleEntry:UpperBorderTemplate'

Default values[edit]

Property Value
PrimaryStyle
Member Value
DefaultStyleTag 'ConsoleStyle'
RequiredStyleClass Class'Engine.UIStyle_Combo'
WidgetTag 'ConsoleInputBox'

Subobjects[edit]

PanelBackgroundTemplate[edit]

Class: Engine.UIComp_DrawImage

Inherits from: UIPanel.PanelBackgroundTemplate

Property Value
ImageStyle
Member Value
DefaultStyleTag 'ConsoleBackgroundStyle'

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UIPanel.WidgetEventComponent

No new values.

Functions[edit]

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Called after this screen object's children have been initialized. While the Initialized event is only called when a widget is initialized for the first time, PostInitialize() will be called every time this widget receives a call to Initialize(), even if the widget was already initialized. Examples would be reparenting a widget.

Other instance functions[edit]

OnCreateChild[edit]

function OnCreateChild (UIObject CreatedWidget, UIScreenObject CreatorContainer)


SetValue[edit]

function SetValue (string NewValue)