Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTMultiTeam.UTMT_UTUIScene_MidGameMenu

UTMultiTeam.UTMT_UTUIScene_MidGameMenu

Constants Summary
MAX_TEAM_OPTION_BUTTONS=3
MIN_TEAM_OPTION_BUTTONS=2

Variables Summary
stringChangeTeamMessage
array<name>ChangeTeamTabPageNames
stringChangeTeamTitle

Functions Summary
function MB_ChangeTeamSelection (UTUIScene_MessageBox MessageBox, int SelectedOption, int PlayerIndex))
functionbool OnChangeTeam (UIScreenObject InButton, int InPlayerIndex))
function SetupButtonBar ()))
function ShowChangeTeamMBScene (PlayerController PC, array<string> TeamNames))


Constants Detail

MAX_TEAM_OPTION_BUTTONS Source code

const MAX_TEAM_OPTION_BUTTONS = 3;

MIN_TEAM_OPTION_BUTTONS Source code

const MIN_TEAM_OPTION_BUTTONS = 2;


Variables Detail

ChangeTeamMessage Source code

var localized string ChangeTeamMessage;

ChangeTeamTabPageNames Source code

var array<name> ChangeTeamTabPageNames;

ChangeTeamTitle Source code

var localized string ChangeTeamTitle;


Functions Detail

MB_ChangeTeamSelection Source code

function MB_ChangeTeamSelection ( UTUIScene_MessageBox MessageBox, int SelectedOption, int PlayerIndex) )

OnChangeTeam Source code

function bool OnChangeTeam ( UIScreenObject InButton, int InPlayerIndex) )
Displays a menu for the player if there are the right number of teams (2 or 3). This is because using the message box scene is a slight hack - it only has room for 4 buttons. If the box cannot be display correctly, just go with a team change regardless of any user preference!

SetupButtonBar Source code

function SetupButtonBar ( ) )

ShowChangeTeamMBScene Source code

function ShowChangeTeamMBScene ( PlayerController PC, array<string> TeamNames) )


Defaultproperties

defaultproperties
{
	ChangeTeamTabPageNames(0)="GameTab"
	ChangeTeamTabPageNames(1)="ScoreTab"
	ChangeTeamTitle="Change Team"
	ChangeTeamMessage="Choose your new affiliation, traitorous dog. Be strong, for soon come unto you the untold wrath of ye former teammates and lo, shall it be swift and painful."
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 23/12/2011 20:31:26.108 - Created with UnCodeX