I have spent a long time trying many variations of triggers to get all the units in a region to get killed. I am wanting to get it that when a unit enters a region all units that are in another region die. This was simple in SC but we have less actions for SC2. The options that are region-related won't work for me.
If there is anyway that I could get this to work, a big thanks to you.
BTW, I'm quite tired so I may have never noticed that there may be some other thread with an answer.
I've had problems with this as well. I ended up using a loop that checked for a unit in the region(using closest unit to an arbitrary point in [region]), then killed a unit within it. Not efficient, but it seems to work.
Well, I've got the trigger killing 1 unit now. I think I'll mess around with this action for a little while before I make a decision on how to use it. The problem is, I want the trigger to be instant, it happens and ends in a split second. I was thinking of stacking the action multiple times, but that would probably cause issues.
Edit: Looking farther into loops, they seem to be instant but may cause stress on the game. Some information on this may be needed for me to fully understand it's use and effect.
Exactly what I want! I took your snippet and combined it with my conditions of player specification and it worked without error. I'm thinking I should save the script so I can always look back at it in the future.
Thanks, I guess I can get past this annoyance and continue on my map.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have spent a long time trying many variations of triggers to get all the units in a region to get killed. I am wanting to get it that when a unit enters a region all units that are in another region die. This was simple in SC but we have less actions for SC2. The options that are region-related won't work for me.
If there is anyway that I could get this to work, a big thanks to you.
BTW, I'm quite tired so I may have never noticed that there may be some other thread with an answer.
@SumDedGuy:
I've had problems with this as well. I ended up using a loop that checked for a unit in the region(using closest unit to an arbitrary point in [region]), then killed a unit within it. Not efficient, but it seems to work.
Well, I've got the trigger killing 1 unit now. I think I'll mess around with this action for a little while before I make a decision on how to use it. The problem is, I want the trigger to be instant, it happens and ends in a split second. I was thinking of stacking the action multiple times, but that would probably cause issues.
Edit: Looking farther into loops, they seem to be instant but may cause stress on the game. Some information on this may be needed for me to fully understand it's use and effect.
@SumDedGuy: Go
Isn't that what you want?
Exactly what I want! I took your snippet and combined it with my conditions of player specification and it worked without error. I'm thinking I should save the script so I can always look back at it in the future.
Thanks, I guess I can get past this annoyance and continue on my map.