start with the trigger Unit Group - Pick each unit in unit group. then click the "last created units" and change it to "units in region matching condition." then all you have to do is change "any player" to whatever player you want and for the actions part put "add unit to unit group" with the "triggering unit" changed to "picked unit"
Development > Triggers
Help - Add all Units of Player(x) to Unit Group
- 5 posts
-
KingRadical Regular Shmoe
- Join date
- Oct 20, 2011
- Location
- United States
- Reputation
- 3
- Posts
- 149
- Last login
- May 22, 2013
Last edited Feb 13, 2013 by KingRadical -
BDKPlayer Regular Shmoe
- Join date
- Feb 08, 2013
- Location
- Germany
- Reputation
- 0
- Posts
- 6
- Last login
- Mar 17, 2013
Okay thanks to you I got this now :) thanks. Now I want that Units in Unit Group heroes Die when they are in range of a unit of unit group killers. This is what I came up with:
Event Unit - (Unit 1 from Heroes) Enters (Region((Postition of (Unit 1 form Killers)), 1,0))
Actions Unit - Kill (Unit 1 From Heroes)
I guess its not working because its always Unit 1. What does it mean? I want it to be any unit..
Last edited Feb 13, 2013 by BDKPlayer -
BasharTeg Author
- Battle.net
- Miles
- #152 NA
- Join date
- Sep 15, 2010
- Location
- United States
- Reputation
- 29
- Posts
- 1,124
- Projects
- 4
- Last login
- May 23, 2013
You would likely be better off using behaviors for all of the Killers units. Under requirements for the ability, you can set a specific unit type so it only affects the Victim units.
Last edited Feb 13, 2013 by BasharTegMy Projects:
Malum Ruina: SC2Mapster
Eternal Exile: SC2Mapster
Spine Crawler Madness: SC2Mapster
Xeno Crisis: SC2Mapster
- 5 posts
BDKPlayer Regular ShmoeHey Mapsters, I want to add all units of a player to one unit group how do I do that? My ultimate goal is a trigger that kills any unit that comes in range x with a unit of this "unit group". I think this is easy for you guys but I seem to be blind..
Thanks in advance, BDKPlayer