Why would it be best if I ask the players to define these variables before the round starts? I want the players to be able to control the rate of spawn whenever they want. Also, does a trigger run even without an event? And how will I go about defining the Unit Type of all the rounds within one single trigger (take note that there are more than one type of units per round and I want the units to come randomized, say 10% to spawn a Baneling, 50% to spawn a Zergling, and 40% to spawn a Marine)? Will I use the integer randomization to generate a number between 1 - 100 and add IF statements under every round, inside this one trigger? I have yet to figure out a way to do this...
My map is a tower defense and the Zergling basically initiates the game when all players are ready. Once all players move their Zergling to set region, they die and the game will continuously create units without end. The units created change according to the round or level. The next round occurs when 60 seconds pass. The timer repeats itself once it ends, so basically there are no breaks in between. What I am trying to do is for players to be able to adjust the speed of the creation of units to their liking, but apparently it is impossible to assign a non-constant variable to a periodic event.
But the problem with that is if I decide to use Map Init, it will instantly begin spawning as I enter the game. The spawning should begin when a Zergling from each player is brought to a region, which I have really will have no control over when that happens.
How can I do this? It appears I cannot alter the time during the game in anyway. Are there any other methods that can "imitate" this event with a more flexible timing? Let's put it this way: I'm trying to create a unit for every X seconds, but the periodic event by no means supports flexibility.
I've been trying to manipulate an array variable through the use of pressing a button but to no avail... This is my current trigger:
Events
Dialog - Any Dialog Item is used by Player (Triggering player) with event type Clicked
Local Variables
Conditions
1x Speed == (Used dialog item)
Actions
Variable - Set Set Speed[(Triggering player)] = 1.0
The variable that I am talking about is "Set Speed". It is a real variable and has an array of [4] for four players. My question is, what am I doing wrong? It doesn't appear to have changed anything when I tested it in-game.
However, another problem arose. I changed the models for the explosion effect to a bluish-nova. However, when I test it in game, the bluish-nova comes WITH a normal fiery explosion. How do I remove the fiery explosion?
Well yes, I understand how to make the explosion and area damage and stuff, I just don't understand how to plant the bomb on the ground and have it explode 5 seconds later. Do I have to apply some kind of behavior to the missile or something?
EDIT: Never mind! I was on the wrong ability. How careless of me :|
But may I ask in what way is this ability similar to what I am looking for? I mean it is not planted on where Reaper is standing, and it also explodes on impact, which is not what I want.
Hmm.. Actually, I can't find the ability button that allows me to use this ability in-game! In the command card it is located at the bottom left, but I don't know why it is hidden when I go in-game.
Create a new map
-> Custom, and I checked all four standard dependencies
-> Created the map, went to Data Editor
-> Searched for Reaper, but only found 3 abilities
0
@Zolstice: Go
Why would it be best if I ask the players to define these variables before the round starts? I want the players to be able to control the rate of spawn whenever they want. Also, does a trigger run even without an event? And how will I go about defining the Unit Type of all the rounds within one single trigger (take note that there are more than one type of units per round and I want the units to come randomized, say 10% to spawn a Baneling, 50% to spawn a Zergling, and 40% to spawn a Marine)? Will I use the integer randomization to generate a number between 1 - 100 and add IF statements under every round, inside this one trigger? I have yet to figure out a way to do this...
... and so on until round 50(?)
Sorry for asking so many questions, but I honestly cannot figure this out for life.
0
@Zolstice: Go
My map is a tower defense and the Zergling basically initiates the game when all players are ready. Once all players move their Zergling to set region, they die and the game will continuously create units without end. The units created change according to the round or level. The next round occurs when 60 seconds pass. The timer repeats itself once it ends, so basically there are no breaks in between. What I am trying to do is for players to be able to adjust the speed of the creation of units to their liking, but apparently it is impossible to assign a non-constant variable to a periodic event.
0
But the problem with that is if I decide to use Map Init, it will instantly begin spawning as I enter the game. The spawning should begin when a Zergling from each player is brought to a region, which I have really will have no control over when that happens.
0
@Kafoso - I want to have my triggers spawn random units at an unfixed interval, but not throughout the game.
@SBeier - But I don't want the same unit to keep on spawning, what I want is to have another type of unit spawning every 60 seconds.
0
@Eiviyn: Go
How will I apply that Action to my trigger? Do I require an event? Also what about the conditions?
0
How can I do this? It appears I cannot alter the time during the game in anyway. Are there any other methods that can "imitate" this event with a more flexible timing? Let's put it this way: I'm trying to create a unit for every X seconds, but the periodic event by no means supports flexibility.
0
I've been trying to manipulate an array variable through the use of pressing a button but to no avail... This is my current trigger:
Events
Dialog - Any Dialog Item is used by Player (Triggering player) with event type Clicked
Local Variables
Conditions
1x Speed == (Used dialog item)
Actions
Variable - Set Set Speed[(Triggering player)] = 1.0
The variable that I am talking about is "Set Speed". It is a real variable and has an array of [4] for four players. My question is, what am I doing wrong? It doesn't appear to have changed anything when I tested it in-game.
0
Is there a method for adding over 200 pre-created units to a unit group that does not require me to do 200 "Add Unit" triggers?
0
Thanks, I finally found where it is located! :)
However, another problem arose. I changed the models for the explosion effect to a bluish-nova. However, when I test it in game, the bluish-nova comes WITH a normal fiery explosion. How do I remove the fiery explosion?
0
I'm getting this problem:
I clicked the D8 Cluster Bomb Attack Launch model and clicked "Explain Link". It says something about "<Launch Assets - Model>". What does that mean?
0
Well yes, I understand how to make the explosion and area damage and stuff, I just don't understand how to plant the bomb on the ground and have it explode 5 seconds later. Do I have to apply some kind of behavior to the missile or something?
EDIT: Never mind! I was on the wrong ability. How careless of me :|
0
Yes, I cannot see the ability on the command card. Now I do not know how this ability works because it is not on the command card...!
0
Thanks!
But may I ask in what way is this ability similar to what I am looking for? I mean it is not planted on where Reaper is standing, and it also explodes on impact, which is not what I want.
Hmm.. Actually, I can't find the ability button that allows me to use this ability in-game! In the command card it is located at the bottom left, but I don't know why it is hidden when I go in-game.
0
Create a new map -> Custom, and I checked all four standard dependencies -> Created the map, went to Data Editor -> Searched for Reaper, but only found 3 abilities
I don't know what's the problem here :|
I think I found it, is it "Reaper - G-4 Charge"?
0
Well, there are only three abilities and they are Stop, Attack, and Move. I don't see C4 anywhere :(