Mostly Harmless

UE2:UT2K4SP_CGManoEMano (UT2004)

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

Challenge a team for a 1vs1 game

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

Properties[edit]

See UT2K4SP_CGManoEMano properties.

Structs[edit]

ChallengeSettingRecord[edit]

string Acronym 
int GoalScore 
string GameType 

Functions[edit]

Events[edit]

HandleParameters[edit]

event HandleParameters (string Param1, string Param2)

Overrides: GUIPage.HandleParameters

param1 = preselect enemy team, fully qualified classname. param2 = not empty -> lock team change controlls

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions[edit]

FormatMoney[edit]

function string FormatMoney (int NewValue)


GetRandomMaps[edit]

function GetRandomMaps ()


onCancelClick[edit]

function bool onCancelClick (GUIComponent Sender)

Cancel button pressed

OnCanWindowClose[edit]

function bool OnCanWindowClose (optional bool bCancelled)


OnConfirmCancel[edit]

function OnConfirmCancel (byte bButton)

Player accepts to pay the penalty

OnMapSelect[edit]

function OnMapSelect (GUIComponent Sender)


onOkClick[edit]

function bool onOkClick (GUIComponent Sender)

Play the selected match, first check if we need to assign team mates

OnWindowClose[edit]

function OnWindowClose (optional bool bCancelled)


setChallengeInfo[edit]

function setChallengeInfo (int selectedMap)


SetupNoPreview[edit]

protected function SetupNoPreview (GUILabel lbl, GUIImage img)


UpdateDetails[edit]

function UpdateDetails (GUIComponent Sender)


UpdateTeamDetails[edit]

function UpdateTeamDetails (GUIComponent Sender)


XButtonClicked[edit]

function bool XButtonClicked (GUIComponent Sender)

Overrides: FloatingWindow.XButtonClicked