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

XInterface.Tab_IADeathMatch


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
// ====================================================================
//  Class:  XInterface.Tab_IADeathMatch
//  Parent: XInterface.Tab_InstantActionBaseRules
//
//  <Enter a description here>
// ====================================================================

class Tab_IADeathMatch extends Tab_InstantActionBaseRules;

var config bool	LastAutoAdjustSkill;

var localized string	GoalScoreText;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
	Super.Initcomponent(MyController, MyOwner);
	MyGoalScore.MyLabel.Caption = GoalScoreText;

	moCheckBox(Controls[15]).Checked(LastAutoAdjustSkill);
}

function string Play()
{
	LastAutoAdjustSkill = moCheckBox(Controls[15]).IsChecked();
	SaveConfig();

	return Super.Play()$"?AutoAdjust="$LastAutoAdjustSkill;
}

defaultproperties
{
	Begin Object class=GUIImage Name=IARulesBK4
		WinWidth=0.957500
		WinHeight=0.156016
		WinLeft=0.021641
		WinTop=0.78543
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object
	Controls(14)=GUIImage'IARulesBK4'

	Begin Object class=moCheckBox Name=IARulesAutoAdjustSkill
		WinWidth=0.250000
		WinHeight=0.156016
		WinLeft=0.375000
		WinTop=0.858295
		Caption="Auto-Adjust Skill"
		Hint="When enabled, bots will adjust their skill to match yours."
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
	End Object
	Controls(15)=moCheckBox'IARulesAutoAdjustSkill'

	GoalScoreText="Frag Limit"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:36:28.000 - Creation time: Do 14.8.2014 09:58:51.438 - Created with UnCodeX