Page 1 of 1
kill all the enemies
Posted: Thu May 09, 2002 7:43 pm
by Howlround
How do I set it up so I have to kill all the ememies before I can leave. I just can't seem to get it to work right. Thanks again for all the. help.
Posted: Thu May 09, 2002 9:01 pm
by OnTheBounce
You can actually set this up several ways.
- Use a "Quantity Team" trigger in the Condition(s). "Team 2 has exactly 0 alive at Anywhere", or "Team 2 has less than 1 alive at Anywhere".
- Use "Quantity Player" triggers for each Player Index of enemies, with less than 1 alive/exactly 0 alive for each index.
- Use "Quantity Unit" triggers for each Tag Name that you've assigned to the enemies. (All enemies will have to have Tag Names for this to work, however.) Same here w/"less than 1 alive" or "exactly 0 alive" at Anywhere.
The easiest is option A, but I've found that it is also the most unreliable. The most reliable - but also the greatest pain in the arse - is option C, and B is the middle ground. I suggest trying to set it up the easiest way first, and save the hardest for last. ("Quantity Unit"
can be very easy, however, if you simply have every enemy tagged with the same name.)
The Action portion of the trigger would be to "Open Exit Grids". ("Toggle Exit Grids", w/a tick/check placed in the appropriate box.)
It's as easy as that.
Cheers,
OTB
Posted: Thu May 09, 2002 10:03 pm
by Jimmyjay86
I thought there is a trigger you can use for something like "Enemies of Player 1" have 0 alive anywhere.
Posted: Thu May 09, 2002 11:02 pm
by OnTheBounce
Damn, I'd forgotten about that, JJ86. Yes, you can set up triggers w/qualifiers like "Allies of", "Enemies of". I'm not sure if those work or not because I've never used them, though.
I just hate when my thinking gets stuck in a rut...
OTB