The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

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

See UT2K4SP_Challenge properties.

Structs

ChallengeGameType

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

Functions

Events

HandleParameters

event HandleParameters (string Param1, string Param2)

Overrides: GUIPage.HandleParameters


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: FloatingWindow.InitComponent


SetVisibility

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions

GetGame

function GetGame (int index, optional bool noRecreateEnemies)


onCancelClick

function bool onCancelClick (GUIComponent Sender)

Cancel button pressed

OnCanWindowClose

function bool OnCanWindowClose (optional bool bCancelled)


OnConfirmCancel

function OnConfirmCancel (byte bButton)

Player accepts to pay the penalty

OnGameSelect

function OnGameSelect (GUIComponent Sender)


OnMapSelect

function OnMapSelect (GUIComponent Sender)


onOkClick

function bool onOkClick (GUIComponent Sender)

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

OnWindowClose

function OnWindowClose (optional bool bCancelled)


SetupNoPreview

protected function SetupNoPreview (GUILabel lbl, GUIImage img)


StartMatch

function StartMatch ()

Start the selected match