Hey 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..
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"
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..
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.
Hey 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
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"
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..
@BDKPlayer: Go
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.
Im only used to the wc3 editor.. so I dont know about this requirements ability stuff... Can you help me to get what I want? :)