Hello! I am a new map maker but I am slowly making my way through the tough learning curve. I am having a problem. I have my unit group done in a local trigger and what happens is when i start the "round" It starts it. Sends the zerglings to a point then after everything is dead I want it to teleport the unit that I want to be sent to a point. The part I need help with is when all the zerglings are dead it sends the unit to where I want on a point (or anything else i want). I have searched for a good 30 minutes and tried an hour to figure out out :(! Any help is greatly appreciated and sorry in advanced if this is not the right place and etc.
Do note that if you don't turn your trigger off it will trigger again every time a unit dies so you need to either make sure that you turn the trigger off, or you need to fill the unit group again with (non dead) units.
Also note that if these zerglings are not created at the start, this trigger should be off at the start and only when you have created the zerglings and filled them into the unit group then you should turn this trigger on (with the "Turn <name of trigger> on" action).
Thank you very much. I will try it out later but I am sure it will work. I was trying to do everything with 1 trigger and using a local variable. Thank you for your reply :)
Ok, if you have a lot of local variables you might be better of using the following action:
Trigger - Wait for Trigger to execute, and Wait until it completes
To use it you will still need to still use the unit group as a global variable and create the trigger as said before. The difference will be that instead of putting the code (that needs to run when the zergling group died) in the new trigger, you will add the code in the existing trigger behind the "Trigger - Wait for Trigger to execute, and Wait until it completes". This will allow you will keep your local variables.
TY so much for all your help. One last question I have searched and played around with once again. I want multiple wait until the trigger is done and I added it to all the ones I want and they are correct, but it only does the first one that I have. Thank you for your help :)!
Ok. I have more than 1 instance of actions I want done when the Trigger completes. It opens 3 doors and teleports my unit back to base. When I attempt to use the "wait for trigger" action. It only does 1 of the commands (which is first in the list). I want it to run all 4 commands when the trigger is done.
Simply stated, each of the
Trigger - Wait for Round Ends to execute, and Wait until it completes
actions require you to fill the UnitGlobalGroup again and to the trigger named "Turn Wait for Rounds Ends" back on (This is because everytime it does run, it turns itself off).
So you are either missing the adding of your next waves to the UnitGlobalGroup
-or-
you have written too many wait for trigger to executes.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello! I am a new map maker but I am slowly making my way through the tough learning curve. I am having a problem. I have my unit group done in a local trigger and what happens is when i start the "round" It starts it. Sends the zerglings to a point then after everything is dead I want it to teleport the unit that I want to be sent to a point. The part I need help with is when all the zerglings are dead it sends the unit to where I want on a point (or anything else i want). I have searched for a good 30 minutes and tried an hour to figure out out :(! Any help is greatly appreciated and sorry in advanced if this is not the right place and etc.
@DARKCRONOjr: Go
You need to put your Unit Group in a global variable. Then you need to add a new trigger in the following form:
Do note that if you don't turn your trigger off it will trigger again every time a unit dies so you need to either make sure that you turn the trigger off, or you need to fill the unit group again with (non dead) units.
Also note that if these zerglings are not created at the start, this trigger should be off at the start and only when you have created the zerglings and filled them into the unit group then you should turn this trigger on (with the "Turn <name of trigger> on" action).
Thank you very much. I will try it out later but I am sure it will work. I was trying to do everything with 1 trigger and using a local variable. Thank you for your reply :)
Ok, if you have a lot of local variables you might be better of using the following action:
Trigger - Wait for Trigger to execute, and Wait until it completes
To use it you will still need to still use the unit group as a global variable and create the trigger as said before. The difference will be that instead of putting the code (that needs to run when the zergling group died) in the new trigger, you will add the code in the existing trigger behind the "Trigger - Wait for Trigger to execute, and Wait until it completes". This will allow you will keep your local variables.
TY so much for all your help. One last question I have searched and played around with once again. I want multiple wait until the trigger is done and I added it to all the ones I want and they are correct, but it only does the first one that I have. Thank you for your help :)!
Well I'm not sure what you mean. Could you try to explain it again in more detail?
Ok. I have more than 1 instance of actions I want done when the Trigger completes. It opens 3 doors and teleports my unit back to base. When I attempt to use the "wait for trigger" action. It only does 1 of the commands (which is first in the list). I want it to run all 4 commands when the trigger is done.
Could you post your triggers / actions here? (This can be done easily by selecting and then right clicking "Copy as text".)
Actions
@DARKCRONOjr: Go
Simply stated, each of the
Trigger - Wait for Round Ends to execute, and Wait until it completes
actions require you to fill the UnitGlobalGroup again and to the trigger named "Turn Wait for Rounds Ends" back on (This is because everytime it does run, it turns itself off).
So you are either missing the adding of your next waves to the UnitGlobalGroup
-or-
you have written too many wait for trigger to executes.