I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:UT2K4SPTab_ProfileNew (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 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 >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4SPTab_Base >> UT2K4SPTab_ProfileNew
Package: 
GUI2K4

Create a new single player profile

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

Properties

See UT2K4SPTab_ProfileNew properties.

Functions

Events

InitComponent

event InitComponent (GUIController pMyController, GUIComponent MyOwner)

Overrides: UT2K4SPTab_Base.InitComponent


Other instance functions

AddDefaultBots

function AddDefaultBots (UT2K4GameProfile GP)

Add the default bots to the free agent list

AddDefaultTeams

function AddDefaultTeams (UT2K4GameProfile GP)

Add the default teams to the list (the Phantom teams)

LoadSponsorSymbols

function LoadSponsorSymbols ()

Loads all Sponsor symbols

onBackClick

function bool onBackClick ()

Overrides: UT2K4SPTab_Base.onBackClick

Go back to the main menu when there are not proflies

OnNameActivate

function OnNameActivate ()

Clear the input box when it has the default name

onNameChange

function onNameChange (GUIComponent Sender)

Disable "create" button when names are empty

OnNameDeActivate

function OnNameDeActivate ()

Check to see if we have an empty name

onPlayClick

function bool onPlayClick ()

Overrides: UT2K4SPTab_Base.onPlayClick

Create the profile and load it

onSelectSkin

function bool onSelectSkin (GUIComponent Sender)

Change the selected skin

onSelectSponsor

function bool onSelectSponsor (GUIComponent Sender)

Change the selected sponsor

OnTeamActivate

function OnTeamActivate ()

Clear the input box when it has the default team name

ResetValues

function ResetValues ()

Will reset all the settings to their initial value

ShowPanel

function ShowPanel (bool bShow)

Overrides: UT2K4SPTab_Base.ShowPanel

make sure the main window is set