The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UIScriptConsoleScene (UT3)

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

Example of how to setup a scene in unrealscript.

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved

Properties

BufferBackground

Type: UIImage

Modifiers: instanced

the background for the console

Default value: UIImage'Engine.Default__UIScriptConsoleScene:BufferBackgroundTemplate'

BufferText

Type: UILabel

Modifiers: instanced

the console's buffer text

Default value: UILabel'Engine.Default__UIScriptConsoleScene:BufferTextTemplate'

CommandRegion

Type: ScriptConsoleEntry

Modifiers: instanced

where the text that is currently being typed appears

Default value: ScriptConsoleEntry'Engine.Default__UIScriptConsoleScene:CommandRegionTemplate'

Default values

Property Value
Position
Member Value
ScaleType[2] EVALPOS_PercentageViewport
ScaleType[3] EVALPOS_PercentageViewport
Value[3] 0.75
SceneTag 'ConsoleScene'

Subobjects

BufferBackgroundTemplate

Class: Engine.UIImage

Property Value
PrimaryStyle
Member Value
DefaultStyleTag 'ConsoleBufferImageStyle'
WidgetTag 'BufferBackground'

BufferTextTemplate

Class: Engine.UILabel

Property Value
OnCreate OnCreateChild
Position
Member Value
ScaleType[2] EVALPOS_PercentageOwner
Value[2] 1.0
PrimaryStyle
Member Value
DefaultStyleTag 'ConsoleBufferStyle'
WidgetTag 'BufferText'

CommandRegionTemplate

Class: Engine.ScriptConsoleEntry

Property Value
InputBox UIEditBox'Engine.Default__UIScriptConsoleScene:CommandRegionTemplate.ConsoleInputTemplate'
LowerConsoleBorder UIImage'Engine.Default__UIScriptConsoleScene:CommandRegionTemplate.LowerBorderTemplate'
UpperConsoleBorder UIImage'Engine.Default__UIScriptConsoleScene:CommandRegionTemplate.UpperBorderTemplate'

SceneEventComponent

Class: Engine.UIComp_Event

Inherits from: UIScene.SceneEventComponent

No new values.

Functions

Events

Initialized

event Initialized ()

Overrides: UIScreenObject.Initialized

Called once this screen object has been completely initialized, before it has called Initialize on its children.

PostInitialize

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Called after this screen object's children have been initialized

Other instance functions

OnCreateChild

function OnCreateChild (UIObject CreatedWidget, UIScreenObject CreatorContainer)