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

SkaarjPack.TAB_IAInvasion


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
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
// ====================================================================
// (C) 2002, Epic Games
// ====================================================================
 
class TAB_IAInvasion extends Tab_IATeamDeathMatch;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
    local moNumericEdit a;
    local GUINumericEdit b;

    Super.InitComponent(MyController, MyOwner);

    Controls[14].WinTop = 0.765899;
	Controls[15].WinTop = 0.823138;
	Controls[15].WinLeft = 0.121094;

    Controls[11].MenuStateChange(MSAT_Disabled);

    a = moNumericEdit(Controls[16]);
    a.SetValue(class'invasion'.default.InitialWave+1);
    b = a.MyNumericEdit;
    GUIEditBox(b.Controls[0]).bReadOnly = true;

}

function WaveChange(GUIComponent Sender)
{
	class'invasion'.default.InitialWave = moNumericEdit(Controls[16]).GetValue()-1;
    class'invasion'.static.staticsaveconfig();
}

function bool ConfigClicked(GUIComponent Sender)
{
	Controller.OpenMenu("SkaarjPack.InvasionWaveConfig");
	return true;
}

defaultproperties
{
     Begin Object Class=moNumericEdit Name=IAInvasionInitialWave
         MinValue=1
         MaxValue=16
         Caption="Initial Wave"
         OnCreateComponent=IAInvasionInitialWave.InternalOnCreateComponent
         Hint="Choose the initial wave."
         WinTop=0.823138
         WinLeft=0.605469
         WinWidth=0.250000
         WinHeight=0.060000
         OnChange=TAB_IAInvasion.WaveChange
     End Object
     Controls(16)=moNumericEdit'SkaarjPack.TAB_IAInvasion.IAInvasionInitialWave'

     Begin Object Class=GUIButton Name=IAInvasionWaveConfig
         Caption="Configure Waves"
         StyleName="SquareMenuButton"
         WinTop=0.932031
         WinLeft=0.383789
         WinWidth=0.231250
         WinHeight=0.068750
         OnClick=TAB_IAInvasion.ConfigClicked
         OnKeyEvent=IAInvasionWaveConfig.InternalOnKeyEvent
     End Object
     Controls(17)=GUIButton'SkaarjPack.TAB_IAInvasion.IAInvasionWaveConfig'

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: pr 5-2-2018 12:35:52.000 - Creation time: sk 18-3-2018 09:50:20.407 - Created with UnCodeX