UE2:UT2K4SP_TeamRoles (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K4GUIPage >> PopupPageBase >> FloatingWindow >> LargeWindow >> UT2K4SP_TeamRoles
Package:
GUI2K4

Set the team roles for the next match

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

Properties

AccuracyCaption

Type: string

Modifiers: localized


Default value: "Accuracy:"

AggressionCaption

Type: string

Modifiers: localized


Default value: "Aggressiveness:"

AgilityCaption

Type: string

Modifiers: localized


Default value: "Agility:"

AssignedRoles

Type: int

Currently assigned roles

bNoBalanceCheck

Type: bool

if true no balance check is done

btnCancel

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPTbtnCancel'

btnOk

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPMbtnOk'

cbRoles

Type: array<GUIComboBox>


CurrentFee

Type: int

the fee for the currently selected team

GP

Type: UT2K4GameProfile


imgFaces

Type: array<GUIImage>


InactiveMsg

Type: string

Modifiers: localized


Default value: "INACTIVE"

InjuredCaption

Type: string

Modifiers: localized


Default value: "INJURED"

lblBalance

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPTlblBalance'

lblInfo

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPTlblInfo'

lblNoMoney

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPTlblNoMoney'

lblTitle

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPTlblTitle'

MaxTeamMates

Type: int

Used to check the number of roles assigned

MinimalFeeCaption

Type: string

Modifiers: localized


Default value: "Minimal fee:|%fee%"

PortraitBGMat

Type: Material


Default value: Material'2K4Menus.Controls.sectionback'

sbCharInfo

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'SPTsbCharInfo'

TacticsCaption

Type: string

Modifiers: localized


Default value: "Tactics:"

TeamFee

Type: array<int>

used to check if the current team can be payed

Default values

See UT2K4SP_TeamRoles defaults.

Delegates

OnOkClick

delegate OnOkClick ()

Will be called when the user clicks the "ok" button

Functions

Events

HandleParameters

event HandleParameters (string Param1, string Param2)

Overrides: GUIPage.HandleParameters


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


Other instance functions

drawButtons

function drawButtons ()

draw team member faces and role selection controlls

InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


onRoleChange

function onRoleChange (GUIComponent Sender)

A role has changed, check the constraints

setOkButtonState

function setOkButtonState ()


ShowPlayerDetails

function bool ShowPlayerDetails (GUIComponent Sender)