Gah - a solution with more questions. – EntropicLqd

UE2:UT2K4SPTab_ProfileNew (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
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[edit]

See UT2K4SPTab_ProfileNew properties.

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController pMyController, GUIComponent MyOwner)

Overrides: UT2K4SPTab_Base.InitComponent


Other instance functions[edit]

AddDefaultBots[edit]

function AddDefaultBots (UT2K4GameProfile GP)

Add the default bots to the free agent list

AddDefaultTeams[edit]

function AddDefaultTeams (UT2K4GameProfile GP)

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

LoadSponsorSymbols[edit]

function LoadSponsorSymbols ()

Loads all Sponsor symbols

onBackClick[edit]

function bool onBackClick ()

Overrides: UT2K4SPTab_Base.onBackClick

Go back to the main menu when there are not proflies

OnNameActivate[edit]

function OnNameActivate ()

Clear the input box when it has the default name

onNameChange[edit]

function onNameChange (GUIComponent Sender)

Disable "create" button when names are empty

OnNameDeActivate[edit]

function OnNameDeActivate ()

Check to see if we have an empty name

onPlayClick[edit]

function bool onPlayClick ()

Overrides: UT2K4SPTab_Base.onPlayClick

Create the profile and load it

onSelectSkin[edit]

function bool onSelectSkin (GUIComponent Sender)

Change the selected skin

onSelectSponsor[edit]

function bool onSelectSponsor (GUIComponent Sender)

Change the selected sponsor

OnTeamActivate[edit]

function OnTeamActivate ()

Clear the input box when it has the default team name

ResetValues[edit]

function ResetValues ()

Will reset all the settings to their initial value

ShowPanel[edit]

function ShowPanel (bool bShow)

Overrides: UT2K4SPTab_Base.ShowPanel

make sure the main window is set