scn 00EnemieGeneratorscript
short Doonce
short Enemie
short Enemie1
short Enemie2
short Enemie3
short Enemie4
short Enemie5
short Enemie6
short Enemie7
Begin OnActivate
messagebox "Gegen was wollt ihr kämpfen?", "Bandit", "Spinnen-Daedra", "Daedroth", "Sturm-Astronach", "Frost-Astronach", "Dremona-Fürst", "Lich"
End
Begin GameMode
Set Enemie to GetButtonPressed
if Enemie == 0
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie1 to GetButtonPressed
elseif Enemie1 == 0
bbEGBandit1.enable
elseif Enemie1 == 1
bbEGBandit1.enable
bbEGBandit2.enable
elseif Enemie1 == 2
bbEGBandit1.enable
bbEGBandit2.enable
bbEGBandit3.enable
elseif Enemie1 == 3
bbEGBandit1.enable
bbEGBandit2.enable
bbEGBandit3.enable
bbEGBandit4.enable
elseif Enemie1 == 4
bbEGBandit1.enable
bbEGBandit2.enable
bbEGBandit3.enable
bbEGBandit4.enable
bbEGBandit5.enable
elseif Enemie == 1
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie2 to GetButtonPressed
elseif Enemie2 == 0
bbEGSD1.enable
elseif Enemie2 == 1
bbEGSD1.enable
bbEGSD2.enable
elseif Enemie2 == 2
bbEGSD1.enable
bbEGSD2.enable
bbEGSD3.enable
elseif Enemie2 == 3
bbEGSD1.enable
bbEGSD2.enable
bbEGSD3.enable
bbEGSD4.enable
elseif Enemie2 == 4
bbEGSD1.enable
bbEGSD2.enable
bbEGSD3.enable
bbEGSD4.enable
bbEGSD5.enable
elseif Enemie == 2
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie3 to GetButtonPressed
elseif Enemie3 == 0
bbEGDaedroth1.enable
elseif Enemie3 == 1
bbEGDaedroth1.enable
bbEGDaedroth2.enable
elseif Enemie3 == 2
bbEGDaedroth1.enable
bbEGDaedroth2.enable
bbEGDaedroth3.enable
elseif Enemie3 == 3
bbEGDaedroth1.enable
bbEGDaedroth2.enable
bbEGDaedroth3.enable
bbEGDraedroth4.enable
elseif Enemie3 == 4
bbEGDaedroth1.enable
bbEGDaedroth2.enable
bbEGDaedroth3.enable
bbEGDraedroth4.enable
bbEGDaedroth5.enable
elseif Enemie == 3
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie4 to GetButtonPressed
elseif Enemie4 == 0
bbEGStorm1.enable
elseif Enemie4 == 1
bbEGStorm1.enable
bbEGStorm2.enable
elseif Enemie4 == 2
bbEGStorm1.enable
bbEGStorm2.enable
bbEGStorm3.enable
elseif Enemie4 == 3
bbEGStorm1.enable
bbEGStorm2.enable
bbEGStorm3.enable
bbEGStorm4.enable
elseif Enemie4 == 4
bbEGStorm1.enable
bbEGStorm2.enable
bbEGStorm3.enable
bbEGStorm4.enable
bbEGStorm5.enable
elseif Enemie == 4
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie5 to GetButtonPressed
elseif Enemie5 == 0
bbEGFrost1.enable
elseif Enemie5 == 1
bbEGFrost1.enable
bbEGFrost2.enable
elseif Enemie5 == 2
bbEGFrost1.enable
bbEGFrost2.enable
bbEGFrost3.enable
elseif Enemie5 == 3
bbEGStorm1.enable
bbEGFrost2.enable
bbEGFrost3.enable
bbEGFrost4.enable
elseif Enemie5 == 4
bbEGFrost1.enable
bbEGFrost2.enable
bbEGFrost3.enable
bbEGFrost4.enable
bbEGFrost5.enable
elseif Enemie == 5
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie6 to GetButtonPressed
elseif Enemie6 == 0
bbEGDremona1.enable
elseif Enemie6 == 1
bbEGDremona1.enable
bbEGDremona2.enable
elseif Enemie6 == 2
bbEGDremona1.enable
bbEGDremona2.enable
bbEGDremona3.enable
elseif Enemie6 == 3
bbEGDremona1.enable
bbEGDremona2.enable
bbEGDremona3.enable
bbEGDremona4.enable
elseif Enemie6 == 4
bbEGDremona1.enable
bbEGDremona2.enable
bbEGDremona3.enable
bbEGDremona4.enable
bbEGDremona5.enable
elseif Enemie == 6
Messagebox "Gegen wie viele wollt ihr kämpfen?", "1", "2", "3", "4", "5"
Set Enemie7 to GetButtonPressed
elseif Enemie7 == 0
bbEGLich1.enable
elseif Enemie7 == 1
bbEGLich1.enable
bbEGLich2.enable
elseif Enemie7 == 2
bbEGLich1.enable
bbEGLich2.enable
bbEGLich3.enable
elseif Enemie7 == 3
bbEGLich1.enable
bbEGLich2.enable
bbEGLich3.enable
bbEGLich4.enable
elseif Enemie7 == 4
bbEGLich1.enable
bbEGLich2.enable
bbEGLich3.enable
bbEGLich4.enable
bbEGLich5.enable
Endif
End