G'day guys, I'm having a bit of trouble getting my head around setting up a trigger for selecting a group of units using a unit dedicated to the task of selection, having said units spawn in a playing field, and then when those units die (or a remove unit region is triggered) the selector returns and the said units are removed from the field of play.
Basically, in a bit more detail:
1. A selector spawns at region 0 belonging to Player Foo when the map initialises.
2. Player Foo moves that selector to region 1 which creates x number of units at region 2.
3. Upon spawning, that selector dies/is removed from the selection area, which just leaves the selected units.
4. When all the spawned units in region 2 beloning to Player Foo die, another (or the same) selector is created at region 0, ready for Player Foo to select a new batch of units.
5. If Player Foo has passive units, ie Shades, and Player Bar is not killing them deliberately or through no fault of his own (which would cause Player Foo to be unable to replace them), Player Foo can move another dedicated unit to region 3, which will kill any unit at region 2 belonging to him, and create his selector again ready for action.
Sorry for that mouthful, but it's as best I could break it down. I attempted to Google for information regarding this, as well as searching various forums, and turned up nothing (probably due to not knowing exactly what I'm looking for here, new to Warcraft 3 map editor), and even with some experience in the Starcraft editor, the sheer scope of this one has left me befuddled. >>
Thanks in advance, and I'll be sure to give credit where it's due
Basically, in a bit more detail:
1. A selector spawns at region 0 belonging to Player Foo when the map initialises.
2. Player Foo moves that selector to region 1 which creates x number of units at region 2.
3. Upon spawning, that selector dies/is removed from the selection area, which just leaves the selected units.
4. When all the spawned units in region 2 beloning to Player Foo die, another (or the same) selector is created at region 0, ready for Player Foo to select a new batch of units.
5. If Player Foo has passive units, ie Shades, and Player Bar is not killing them deliberately or through no fault of his own (which would cause Player Foo to be unable to replace them), Player Foo can move another dedicated unit to region 3, which will kill any unit at region 2 belonging to him, and create his selector again ready for action.
Sorry for that mouthful, but it's as best I could break it down. I attempted to Google for information regarding this, as well as searching various forums, and turned up nothing (probably due to not knowing exactly what I'm looking for here, new to Warcraft 3 map editor), and even with some experience in the Starcraft editor, the sheer scope of this one has left me befuddled. >>
Thanks in advance, and I'll be sure to give credit where it's due