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
{
     GoalScoreText="Frag Limit"
     Begin Object Class=GUIImage Name=IARulesBK4
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.785430
         WinLeft=0.021641
         WinWidth=0.957500
         WinHeight=0.156016
     End Object
     Controls(14)=GUIImage'XInterface.Tab_IADeathMatch.IARulesBK4'

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

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 23/10/2006 20:30:38.000 - Creation time: Wed 7/2/2007 19:16:53.687 - Created with UnCodeX