My program doesn't have bugs. It just develops random features.

UE2:UT2K4SP_CGBRTrade (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
GUI2K4

Single Player Challenge Bloodrite Trade page Message that you won a player and have to assign it to your team

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

Properties[edit]

bHasFullTeam[edit]

Type: bool

true if the player has afull team

btnNextChar[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CGBbtnNextChar'

btnPrevChar[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CGBbtnPrevChar'

clSelChar[edit]

Type: GUICharacterListTeam

Modifiers: automated


Default value: GUICharacterListTeam'CGBclSelChar'

FireInfo[edit]

Type: string

Modifiers: localized

Info about the player being fires

Default value: "You have selected to fire %fireplayer%, the refund will be %refund%."

FullTeamWarning[edit]

Type: string

Modifiers: localized

Warn the player that there's no empty spot

Default value: "However your team is already at capacity. You will have to fire one of your team mates first. You will be refunded for the loss of the selected player."

GP[edit]

Type: UT2K4GameProfile


Default values[edit]

Property Value
DefaultLeft 0.1
DefaultWidth 0.8
Message "You have won the challenge against %enemyteam%. %player% will now become part of your team."
WinLeft 0.1
WinWidth 0.8

Subobjects[edit]

CGBbtnNextChar[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bNeverFocus True
bRepeatClick True
Hint "Select the team mate you want to fire"
OnClick onSelectChar
OnClickSound CS_Up
StyleName "ArrowRight"
WinHeight 0.06125
WinLeft 0.898438
WinTop 0.806667
WinWidth 0.04875

CGBbtnPrevChar[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bNeverFocus True
bRepeatClick True
Hint "Select the team mate you want to fire"
OnClick onSelectChar
OnClickSound CS_Down
StyleName "ArrowLeft"
WinHeight 0.06125
WinLeft 0.805001
WinTop 0.806667
WinWidth 0.04875

CGBclSelChar[edit]

Class: XInterface.GUICharacterListTeam

Property Value
bBoundToParent True
bCenterInBounds True
FixedItemsPerPage 1
Hint "You will fire this team mate"
OnChange UpdateDetails
StyleName "CharButton"
TabOrder 0
WinHeight 0.325
WinLeft 0.807213
WinTop 0.149584
WinWidth 0.124694

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


Other instance functions[edit]

OnClose[edit]

function OnClose (optional bool bCancel)

Overrides: GUIPage.OnClose


onSelectChar[edit]

function bool onSelectChar (GUIComponent Sender)


SetDescription[edit]

function SetDescription ()

Overrides: UT2K4SP_CGBRUnTrade.SetDescription


UpdateDetails[edit]

function UpdateDetails (GUIComponent Sender)