Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:UT2K4SP_Challenge (UT2004)

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

Challenge a team for a deathmatch (SP)

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

Properties[edit]

See UT2K4SP_Challenge properties.

Structs[edit]

ChallengeGameType[edit]

string GameType 
string ExtraUrl 
int MaxBots 
string MapAcronym 
string MapPrefix 
int BaseGoalScore 
int VarGoalScore 

Functions[edit]

Events[edit]

HandleParameters[edit]

event HandleParameters (string Param1, string Param2)

Overrides: GUIPage.HandleParameters


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions[edit]

GetGame[edit]

function GetGame (int index, optional bool noRecreateEnemies)


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

OnGameSelect[edit]

function OnGameSelect (GUIComponent Sender)


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)


SetupNoPreview[edit]

protected function SetupNoPreview (GUILabel lbl, GUIImage img)


StartMatch[edit]

function StartMatch ()

Start the selected match