QUOTE(Jamals2fat @ Aug 24 2005, 09:28 AM)
U would put center location (like 3x3 location) on all zealot owned by any player at anywhere, and then u would put, well, let me put in a trigger.
| Trigger |
| Description: |
| 1,2,3,4,5 zealots |
|
| Players: |
| ¤ Any Player |
| Conditions: |
¤ Current player commands at least 1 zealot at anywhere
|
| ¤ Current player commands at least 4 zealot at anywhere |
| Actions: |
¤ center location zealot on all zealot owned by current player at anywhere
|
| ¤ Preserve Trigger |
Ok, anyway, location zealot is like 3x3.
nxt trigger.
| Trigger |
| Description: |
| Zealot 2 |
|
| Players: |
| ¤ Any player |
| Conditions: |
| ¤ Current player has suffered exactly 1 death of zealot at zealot |
| Actions: |
| ¤ Create 2 zealot for current player at zealot. |
| Trigger |
| Description: |
| Zealot 3 |
|
| Players: |
| ¤ Any player |
| Conditions: |
| ¤ Current player has suffered exactly 3 death of zealot at zealot |
| Actions: |
| ¤ Create 3 zealot for current player at zealot. |
| Trigger |
| Description: |
| Zealot 2 |
|
| Players: |
| ¤ Any player |
| Conditions: |
| ¤ Current player has suffered exactly 6 death of zealot at zealot |
| Actions: |
| ¤ Create 4 zealot for current player at zealot. |
| Trigger |
| Description: |
| Zealot 2 |
|
| Players: |
| ¤ Any player |
| Conditions: |
| ¤ Current player has suffered exactly 10 death of zealot at zealot |
| Actions: |
| ¤ Create 5 zealot for current player at zealot. |
Whoo, hope that gets me alot of mins anyway, hope this helps ya
[right][snapback]297151[/snapback][/right]
It can't work, because Suffer Deaths does not have a location parameter.
QUOTE(Deadalus @ Aug 24 2005, 09:32 AM)
So you want that first you have 1 zealot, when he gets owned there will be 2, and then you want that if BOTH of them are killed three (3) zealots will be spawned? That is possible but it will require much, much triggers, as I see it.
Well, that IS hard, unless you use whatever kind of program/method which allows numbers the units so you know which unit is which (that is UED, right?)
That's actually easy to do, just get something to keep track of how many Zealots to respawn next time and add 1 to that tracker every time you lose all your Zealots.
QUOTE
However, if you simple want that every zealot will spawn 2 zealots when he dies, THAT could be done more easily.
Keep centering a location constant on the first zealot (you'll want hyper triggers for that), whenever he gets killed spawn two (2) zealots on that location. Now comes the hard part, when say that a location should center on a zealot it will take the first zealot from the left bottom (right?) and center on that one, however if an other zealot enters the location he can start centering on that one. Now that shouldn't be a big problem if the location of the other zealot will also go to the one without a location, but if not you'll get 4 zealots spawned when one dies but the other one won't spawn anything.
So the zealots have to keep away from each other, I think that won't be totally possible if you select all the zealots and let them attack something... So I kinda think it won't work.
But anyway, here is the method to prevent that 2 zealots are spawned right near each other which will mess up the game. In your spawning trigger you should first let zealot1 be spawned, then spawn about 3 or 4 other units where the last one is a unique one. Then center a location on that unique unit, and that is the place you can spawn your second zealot. Sounds easy huh?
But without UED or something I'm rather sure it won't work.
[right][snapback]297154[/snapback][/right]
The closest thing I can think of is a hyper trigger assisted location mover, which constantly moves the location onto Zealots, and whenever there are no Zealots in that location, you'll know that it died.
However, the problem is that the Zealots have to be constantly exchanged between two players, which would, I'd assume, immobilize them.