How can I make it so that when all heros of players one through seven, it defeats them all; as opposed to defeating them one at a time (possibly defeating the host and ruining the game).
So far I have:
~ Events ~
Unit - A unit owned by Player 1 (Red) Dies
Unit - A unit owned by Player 2 (Red) Dies
Unit - A unit owned by Player 3 (Red) Dies
Unit - A unit owned by Player 4 (Red) Dies
Unit - A unit owned by Player 5 (Red) Dies
Unit - A unit owned by Player 6 (Red) Dies
Unit - A unit owned by Player 7 (Red) Dies
~ Conditions ~
((Dying unit) is (A Hero) equal to True
And that's it.
I know I'd have to count units owned by players one through seven some how as a total, and if it were to equal 0 then defeat them all. I'm not sure how to do this though.
So far I have:
~ Events ~
Unit - A unit owned by Player 1 (Red) Dies
Unit - A unit owned by Player 2 (Red) Dies
Unit - A unit owned by Player 3 (Red) Dies
Unit - A unit owned by Player 4 (Red) Dies
Unit - A unit owned by Player 5 (Red) Dies
Unit - A unit owned by Player 6 (Red) Dies
Unit - A unit owned by Player 7 (Red) Dies
~ Conditions ~
((Dying unit) is (A Hero) equal to True
And that's it.
I know I'd have to count units owned by players one through seven some how as a total, and if it were to equal 0 then defeat them all. I'm not sure how to do this though.