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

bHasFullTeam

Type: bool

true if the player has afull team

btnNextChar

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CGBbtnNextChar'

btnPrevChar

Type: GUIButton

Modifiers: automated


Default value: GUIButton'CGBbtnPrevChar'

clSelChar

Type: GUICharacterListTeam

Modifiers: automated


Default value: GUICharacterListTeam'CGBclSelChar'

FireInfo

Type: string

Modifiers: localized

Info about the player being fires

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

FullTeamWarning

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

Type: UT2K4GameProfile


Default values

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

CGBbtnNextChar

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

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

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

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


Other instance functions

OnClose

function OnClose (optional bool bCancel)

Overrides: GUIPage.OnClose


onSelectChar

function bool onSelectChar (GUIComponent Sender)


SetDescription

function SetDescription ()

Overrides: UT2K4SP_CGBRUnTrade.SetDescription


UpdateDetails

function UpdateDetails (GUIComponent Sender)