Mostly Harmless

UE2:UT2K4SP_MapChallenge (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K4GUIPage >> PopupPageBase >> FloatingWindow >> LargeWindow >> UT2K4SP_MapChallenge
Package: 
GUI2K4

Challenge for the alternative map

Written by Michiel Hendriks (c) 2003, 2004, Epic Games, Inc. All Rights Reserved

Properties[edit]

ActiveMap[edit]

Type: CacheManager.MapRecord


btnCancel[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPCbtnCancel'

btnOk[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPMbtnOk'

ChallengeDesc[edit]

Type: string

Modifiers: localized


Default value: "The current arena for this match is %curmap%.|You can change this arena to %altmap% when you pay %fee%."

ChalMI[edit]

Type: UT2K4MatchInfo

Challenge match info

ChangeCost[edit]

Type: float


GP[edit]

Type: UT2K4GameProfile


imgMap[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPCimgMap'

imgMapBg[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPCimgMapBg'

lblDesc[edit]

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'SPClblDesc'

lblTitle[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPClblTitle'

Default values[edit]

Property Value
DefaultLeft 0.1
DefaultWidth 0.8
WinLeft 0.1
WinWidth 0.8

Subobjects[edit]

SPCbtnCancel[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
Caption "CANCEL"
FontScale FNS_Small
OnClick OnCancelClick
RenderWeight 0.2
TabOrder 2
WinHeight 0.044444
WinLeft 0.037848
WinTop 0.854397
WinWidth 0.222222

SPCimgMap[edit]

Class: XInterface.GUIImage

Property Value
bBoundToParent True
Image Material'2K4Menus.Controls.sectionback'
ImageStyle ISTY_Scaled
RenderWeight 0.15
WinHeight 0.32125
WinLeft 0.224722
WinTop 0.155865
WinWidth 0.441667

SPCimgMapBg[edit]

Class: XInterface.GUIImage

Property Value
bBoundToParent True
Image Material'2K4Menus.Controls.sectionback'
ImageStyle ISTY_Scaled
RenderWeight 0.1
WinHeight 0.333333
WinLeft 0.222222
WinTop 0.144641
WinWidth 0.444444

SPClblDesc[edit]

Class: XInterface.GUIScrollTextBox

Property Value
bBoundToParent True
bNoTeletype True
RenderWeight 0.2
StyleName "NoBackground"
TabOrder 1
WinHeight 0.09
WinLeft 0.042813
WinTop 0.717846
WinWidth 0.731251

SPClblTitle[edit]

Class: XInterface.GUILabel

Property Value
bBoundToParent True
Caption "Change Arena"
FontScale FNS_Large
RenderWeight 0.2
StyleName "TextLabel"
TextAlign TXTA_Center
WinHeight 0.0525
WinLeft 0.021563
WinTop 0.057847
WinWidth 0.762501

SPMbtnOk[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
Caption "CHANGE"
FontScale FNS_Small
OnClick OnOkClick
RenderWeight 0.2
TabOrder 1
WinHeight 0.044444
WinLeft 0.685071
WinTop 0.854397
WinWidth 0.222222

Delegates[edit]

MapSelectionUpdate[edit]

delegate MapSelectionUpdate ()

called when the OK button was clicked

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


Other instance functions[edit]

OnCancelClick[edit]

function bool OnCancelClick (GUIComponent Sender)


OnOkClick[edit]

function bool OnOkClick (GUIComponent Sender)