- Joined
- Mar 1, 2010
- Messages
- 1
Hi!
Im working with a Zombie invasion map for me and my friends, and im having some problems with the spawning. I dont want to do it the way with triggers for each wave.
So i tought i could use variables for changing how many spawns, and change the variable after X seconds.
Antalspawn is swedish for NumberOfSpawns and it is my variable
I found something with the Integer A & B command, but didnt really understand anything of it
Thanks for your help!
Farfarstoffel
Im working with a Zombie invasion map for me and my friends, and im having some problems with the spawning. I dont want to do it the way with triggers for each wave.
So i tought i could use variables for changing how many spawns, and change the variable after X seconds.
Antalspawn is swedish for NumberOfSpawns and it is my variable
-
Actions
- Set Antalspawn = 1
- Wait 240.00 seconds
- Set Antalspawn = 2
- Wait 240.00 seconds
- Set Antalspawn = 3
- Wait 240.00 seconds
- Set Antalspawn = 4
- Wait 240.00 seconds
- Set Antalspawn = 5
-
Actions
-
Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
-
Loop - Actions
- Wait 30.00 seconds
- Unit - Create Antalspawn Zombie for Player 12 (Brown) at (Center of Spawn5 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Rider for Player 12 (Brown) at (Center of Spawn5 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Berzerker for Player 12 (Brown) at (Center of Spawn5 <gen>) facing (Position of Brazier 0001 <gen>)
- Wait 0.10 seconds
- -------- Spawn1 --------
- Unit - Create Antalspawn Zombie for Player 12 (Brown) at (Center of Spawn6 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Rider for Player 12 (Brown) at (Center of Spawn6 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Berzerker for Player 12 (Brown) at (Center of Spawn6 <gen>) facing (Position of Brazier 0001 <gen>)
- Wait 0.10 seconds
- -------- Spawn1 --------
- Unit - Create Antalspawn Zombie for Player 12 (Brown) at (Center of Spawn2 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Rider for Player 12 (Brown) at (Center of Spawn2 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Berzerker for Player 12 (Brown) at (Center of Spawn2 <gen>) facing (Position of Brazier 0001 <gen>)
- Wait 0.10 seconds
- -------- Spawn1 --------
- Unit - Create Antalspawn Zombie for Player 12 (Brown) at (Center of Spawn4 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Rider for Player 12 (Brown) at (Center of Spawn4 <gen>) facing (Position of Brazier 0001 <gen>)
- Unit - Create Antalspawn Zombie Berzerker for Player 12 (Brown) at (Center of Spawn4 <gen>) facing (Position of Brazier 0001 <gen>)
-
Loop - Actions
-
Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
I found something with the Integer A & B command, but didnt really understand anything of it
Thanks for your help!
Farfarstoffel