Hey So for the last few days Ive been playing around with the map editor and data editor and Ive gotten the hang of it but the trigger editor just blows my mind! I have no idea how to understand it and even where to start. So i was wondering if any one could help me figure out what i need to do for some triggers, just so i can wrap my head around it a bit and understand more.
I'm trying to do the Following
-Create a single unit in a region.
-Create Units after x kills
-Bring x amount of guys(money) into region and 'purchase' Hero unit (Then kill off the "money")
-Create x amount of guys and send them to move and not attack from point a to point b.
-After wave is complete show a 45 Second countdown timer till next wave.
If any one could help me on these that would be amazing!
Hey So for the last few days Ive been playing around with the map editor and data editor and Ive gotten the hang of it but the trigger editor just blows my mind! I have no idea how to understand it and even where to start. So i was wondering if any one could help me figure out what i need to do for some triggers, just so i can wrap my head around it a bit and understand more.
I'm trying to do the Following
-Create a single unit in a region.
Depending on how you want to do this, do you want the unit spawning on its own or do you want the unit someone trained to build into this region?
-Create Units after x kills
You would need to have a variable to track the amount of kills a player has and have a trigger that fires off when a unit dies, have a condition that checks how many kills the player has and then make an action that spawns those units if that player is at a certain amount of kills
-Bring x amount of guys(money) into region and 'purchase' Hero unit (Then kill off the "money")
This one is a bit confusing, is "guys" like minerals? or just a unit, so if you have a certain amount of units in a set region you sacrifice the units and spawn a hero? if so, then you need to have a trigger to count the number of units in the region and have a condition that when it reaches the set number you want, removes all those units from game and spawns the hero that you want
-Create x amount of guys and send them to move and not attack from point a to point b.
easy trigger, you should be able to work this one out, with a simple unit move trigger
-After wave is complete show a 45 Second countdown timer till next wave.
making timers are a littler harder, you need to have a a variable for the amount of units in your waves that counts itself down when the units die and when that reaches zero, you create a timer of 45 seconds.
If any one could help me on these that would be amazing!
I have bolded my answers, ideally you need to try making the triggers for yourself first, once you have given them a try post them here and we can see where you need help with.
@Trembelwick: Go
-Create x amount of guys and send them to move and not attack from point a to point b. easy trigger, you should be able to work this one out, with a simple unit move trigger**
-After wave is complete show a 45 Second countdown timer till next wave. making timers are a littler harder, you need to have a a variable for the amount of units in your waves that counts itself down when the units die and when that reaches zero, you create a timer of 45 seconds. **
I have bolded my answers, ideally you need to try making the triggers for yourself first, once you have given them a try post them here and we can see where you need help with.
-Create a single unit in a region. Depending on how you want to do this, do you want the unit spawning on its own or do you want the unit someone trained to build into this region?**
So i got it like this so far.
Events
- Map Initialization
Local Variables
Conditions
Actions
- Unit - Create 1 Queen - Wave 1 - Queen for Player 0 a 'Point' Facing 2.70.0 degrees (No Options)
Now I don't want it to spawn on a point, I want it to spawn on a region I have created to show the waves. Is there something I'm doing wrong?
-Create Units after x kills You would need to have a variable to track the amount of kills a player has and have a trigger that fires off when a unit dies, have a condition that checks how many kills the player has and then make an action that spawns those units if that player is at a certain amount of kills**
I'm totally confused with this variable stuff... there's tonnes to choose from and i don't know what to choose at all... :/
-Bring x amount of guys(money) into region and 'purchase' Hero unit (Then kill off the "money") This one is a bit confusing, is "guys" like minerals? or just a unit, so if you have a certain amount of units in a set region you sacrifice the units and spawn a hero? if so, then you need to have a trigger to count the number of units in the region and have a condition that when it reaches the set number you want, removes all those units from game and spawns the hero that you want**
Like if i bring 1 'Civilian' to region x that contains a Marine it will kill the 'Civilian' and give me a Marine at Spawn Units for player 1 region
The other ones are a little confusing still :/ all these extra variables, actions and stuff is just confusing me to much!
Lets just work with what I have so far.
No your not doing anything wrong, you just need to change the point part of that action trigger to a region and then select what region you want.
What is it your going for with the "Create Units after x kills" idea? what units are getting created and who for? as for variables, they are going to become your best friend in the editor, variables are like a harddrive, they store information that you may need later, so if you needed an interger variable to store how many kills someone was on, or how much minerals they had earnt etc. they don't just have to store numbers though, and thats where all the differrent variables come in
ok so with the civilians you need to have a trigger that starts when a unit enters such region, the conditions you would set if you need to have a certain amount of civilians in the region, and if it passes the conditions it will remove all the units and create a marine(or whatever it is you require)
(Number of Living units in (Civilian (Male) units in Buy SCV owned by player (Owner of (Triggering unit)) matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 2
(Unit type of (Triggering unit)) == Civilian (Male)
Actions
Unit Group - Pick each unit in (Civilian (Male) units in Buy SCV owned by player (Owner of (Triggering unit)) matching Excluded: Missile, Dead, Hidden, with at most 2) and do (Actions)
Actions
Unit - Kill (Picked unit)
Unit - Create 1 Wave 17 - SCV for player (Owner of (Triggering unit)) at (Center of Spawn Bought Units) facing 270.0 degrees (No Options)
Now ive got it to go to a small island off the side of the map where everyones units will go after they buy it. Now i need a trigger for
When Player x, Brings X units to location 'Spawn Units' teleport or move them to Player x's start location
Right so that trigger works properly? it takes removes the civilians from the region and creates an scv? what happens if you take 3 civilians in, does it remove all 3?
ok so you want a new trigger wit hte same event, if any unit enters spawn bought units , and you will want a condition to check the owner of the unit ( so you may need to do this in more than one trigger ) and you will want to make the action unit move instantly to the starting location
When i put 3 Civilians in there it does nothing... it needs to be 2 at a time, if there's more present in the area at one time the trigger doesnt work. is there a way around it?
Hey So for the last few days Ive been playing around with the map editor and data editor and Ive gotten the hang of it but the trigger editor just blows my mind! I have no idea how to understand it and even where to start. So i was wondering if any one could help me figure out what i need to do for some triggers, just so i can wrap my head around it a bit and understand more.
I'm trying to do the Following
-Create a single unit in a region.
-Create Units after x kills
-Bring x amount of guys(money) into region and 'purchase' Hero unit (Then kill off the "money")
-Create x amount of guys and send them to move and not attack from point a to point b.
-After wave is complete show a 45 Second countdown timer till next wave.
If any one could help me on these that would be amazing!
I have bolded my answers, ideally you need to try making the triggers for yourself first, once you have given them a try post them here and we can see where you need help with.
@nevjmac: Go
-Create a single unit in a region. Depending on how you want to do this, do you want the unit spawning on its own or do you want the unit someone trained to build into this region?**
So i got it like this so far.
Events - Map Initialization Local Variables Conditions Actions - Unit - Create 1 Queen - Wave 1 - Queen for Player 0 a 'Point' Facing 2.70.0 degrees (No Options)
Now I don't want it to spawn on a point, I want it to spawn on a region I have created to show the waves. Is there something I'm doing wrong?
-Create Units after x kills You would need to have a variable to track the amount of kills a player has and have a trigger that fires off when a unit dies, have a condition that checks how many kills the player has and then make an action that spawns those units if that player is at a certain amount of kills**
I'm totally confused with this variable stuff... there's tonnes to choose from and i don't know what to choose at all... :/
-Bring x amount of guys(money) into region and 'purchase' Hero unit (Then kill off the "money") This one is a bit confusing, is "guys" like minerals? or just a unit, so if you have a certain amount of units in a set region you sacrifice the units and spawn a hero? if so, then you need to have a trigger to count the number of units in the region and have a condition that when it reaches the set number you want, removes all those units from game and spawns the hero that you want**
Like if i bring 1 'Civilian' to region x that contains a Marine it will kill the 'Civilian' and give me a Marine at Spawn Units for player 1 region
The other ones are a little confusing still :/ all these extra variables, actions and stuff is just confusing me to much! Lets just work with what I have so far.
Nice work!
No your not doing anything wrong, you just need to change the point part of that action trigger to a region and then select what region you want.
What is it your going for with the "Create Units after x kills" idea? what units are getting created and who for? as for variables, they are going to become your best friend in the editor, variables are like a harddrive, they store information that you may need later, so if you needed an interger variable to store how many kills someone was on, or how much minerals they had earnt etc. they don't just have to store numbers though, and thats where all the differrent variables come in
ok so with the civilians you need to have a trigger that starts when a unit enters such region, the conditions you would set if you need to have a certain amount of civilians in the region, and if it passes the conditions it will remove all the units and create a marine(or whatever it is you require)
@nevjmac: Go
Ok this is what i got so far
Buy SCV Events
Unit - Any Unit Enters Buy SCV
Local Variables
Conditions
(Number of Living units in (Civilian (Male) units in Buy SCV owned by player (Owner of (Triggering unit)) matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 2
(Unit type of (Triggering unit)) == Civilian (Male)
Actions
Unit Group - Pick each unit in (Civilian (Male) units in Buy SCV owned by player (Owner of (Triggering unit)) matching Excluded: Missile, Dead, Hidden, with at most 2) and do (Actions)
Actions
Unit - Kill (Picked unit)
Unit - Create 1 Wave 17 - SCV for player (Owner of (Triggering unit)) at (Center of Spawn Bought Units) facing 270.0 degrees (No Options)
Now ive got it to go to a small island off the side of the map where everyones units will go after they buy it. Now i need a trigger for
When Player x, Brings X units to location 'Spawn Units' teleport or move them to Player x's start location
Right so that trigger works properly? it takes removes the civilians from the region and creates an scv? what happens if you take 3 civilians in, does it remove all 3?
ok so you want a new trigger wit hte same event, if any unit enters spawn bought units , and you will want a condition to check the owner of the unit ( so you may need to do this in more than one trigger ) and you will want to make the action unit move instantly to the starting location
@nevjmac: Go
When i put 3 Civilians in there it does nothing... it needs to be 2 at a time, if there's more present in the area at one time the trigger doesnt work. is there a way around it?
@Trembelwick: Go
I thought it might bug, what happens if you set the == 2 to >1
@nevjmac: Go
this probably no longer belongs in the forums, I have sent you a PM, you can continue messaging me there ^_^