evil-tediz | Code :
- Setvariable
- Evénements
- Map initialization
- Conditions
- Actions
- Set Nombre_de_vague = 20
- Set Nombre_de_vie = 20
- -------- Region --------
- Set reg[1] = spawn1 <gen>
- Set reg[2] = Spawn2 <gen>
- Set reg[3] = Spawn 3 <gen>
- -------- Goomba --------
- Set Goomba[1] = Goomba(Lvl1)
- Set Goomba[2] = Goomba(Lvl2)
- Set Goomba[3] = Goomba(Lvl3)
- Set Goomba[4] = Goomba(Lvl4)
- Set Goomba[5] = Goomba(Lvl5)
- Set Goomba[6] = Goomba(Lvl6)
- Set Goomba[7] = Goomba(Lvl7)
- Set Goomba[8] = Goomba(Lvl8)
- Set Goomba[9] = Goomba(Lvl9)
- Set Goomba[10] = Goomba(Lvl10)
- Set Goomba[11] = Goomba(Lvl11)
- Set Goomba[12] = Goomba(Lvl12)
- Set Goomba[13] = Goomba(Lvl13)
- Set Goomba[14] = Goomba(Lvl14)
- Set Goomba[15] = Goomba(Lvl15)
- Set Goomba[16] = Goomba(Lvl16)
- Set Goomba[17] = Goomba(Lvl17)
- Set Goomba[18] = Goomba(Lvl18)
- Set Goomba[19] = Goomba(Lvl19)
- Set Goomba[20] = Goomba(Lvl20)
|
Code :
- VagueDeGoomba
- Evénements
- Temps - Elapsed game time is 30.00 seconds
- Conditions
- Actions
- For each (Integer A) from 1 to 3, do (Actions)
- Boucle - Actions
- -------- Vague 1 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[1] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 2 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[2] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 3 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[3] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 4 --------
- Unité - Create 10 Goomba[4] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 5 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[5] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 6 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[6] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 7 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[7] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 8 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[8] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 9 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[9] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 10 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[10] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 11 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[11] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 12 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[12] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 13 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[13] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 14 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[14] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 15 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[15] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 16 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[16] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 17 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[17] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 18 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[18] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 19 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[19] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Vague 20 --------
- Set TmpPoint = (Center of reg[(Integer A)])
- Unité - Create 10 Goomba[20] for Joueur 12 (Marron) at TmpPoint facing Orientation bâtiment par défaut degrees
- Set Nombre_de_vague = (Nombre_de_vague - 1)
- Custom script: call RemoveLocation( udg_TmpPoint )
- Multitable - Set the text for (Last created multiboard) item in column 2, row 1 to (String(Nombre_de_vague))
- Wait 30.00 seconds
- -------- Victory --------
- Partie - Display to (All players) the text: Vous avez gagné la...
- Wait 2.00 seconds
- Déclencheur - Run VictoryTrigger <gen> (checking conditions)
|
|