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
// ====================================================================
// (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
		WinWidth=0.250000
		WinHeight=0.060000
		WinLeft=0.605469
		WinTop=0.823138
		Caption="Initial Wave"
		Hint="Choose the initial wave."
		CaptionWidth=0.5
		MinValue=1
		MaxValue=16
        OnChange=WaveChange
	End Object
	Controls(16)=moNumericEdit'IAInvasionInitialWave'

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


}

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