There is no spoon

UE2:UT2K4SP_Main (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K4GUIPage >> UT2K4MainPage >> UT2K4SP_Main
Package: 
GUI2K4

Single Player Main Menu

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

Constants[edit]

SPDEBUGMODE[edit]

Value: false


Properties[edit]

See UT2K4SP_Main properties.

Functions[edit]

Events[edit]

HandleParameters[edit]

event HandleParameters (string Param1, string Param2)

Overrides: UT2K4MainPage.HandleParameters


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4MainPage.InitComponent


Other instance functions[edit]

addTab[edit]

function GUITabPanel addTab (int index, optional bool bActive)

Add a preconfigured tab

btnBackOnClick[edit]

function bool btnBackOnClick (GUIComponent Sender)

BACK button clicked, ask what to do

btnDebugExecOnClick[edit]

function bool btnDebugExecOnClick (GUIComponent Sender)


btnDetailsOnClick[edit]

function bool btnDetailsOnClick (GUIComponent Sender)


btnPlayOnClick[edit]

function bool btnPlayOnClick (GUIComponent Sender)

PLAY button clicked, ask what to do

DoHighScore[edit]

function int DoHighScore ()

Add the current profile to the highscore

HandleGameProfile[edit]

function HandleGameProfile ()


HandleRequirements[edit]

function bool HandleRequirements (string reqstring)

parse match requirement string, returns false when a single requirement is not met

HandleSpecialEvent[edit]

function HandleSpecialEvent (string SpecialEvent)

handle special events, delimited by semi-colons

InternalOnCanClose[edit]

function bool InternalOnCanClose (optional bool bCancelled)


InternalOnChange[edit]

function InternalOnChange (GUIComponent Sender)

Overrides: UT2K4MainPage.InternalOnChange

Clicked a TabButton

InternalOnPreDraw[edit]

function bool InternalOnPreDraw (Canvas Canvas)


ProfileUnlockChar[edit]

function ProfileUnlockChar (string Char)


removeTab[edit]

function removeTab (GUITabPanel tab)

Shorthand to remove a tab

replaceTab[edit]

function GUITabPanel replaceTab (int index, GUITabPanel previousPage, optional bool bActive)

Replace an existing tab

reportDonation[edit]

function reportDonation ()


thisOnReOpen[edit]

function thisOnReOpen ()


UpdateFreeAgentTeams[edit]

function UpdateFreeAgentTeams ()

calculate which bots are available to be hired

UpdateTabs[edit]

function UpdateTabs (optional bool bPurge, optional bool bSetActive)

Update tabs when a gameprofile is loaded