HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Number of Heroes Condition

09-22-2003, 11:28 AM#1
kl33r
How do i make a condtion like :

Number Of Hero-Type units controlled by Player 1 Equal to 0

i can't seem to find any comparison that is like that
09-22-2003, 12:03 PM#2
Dead-Inside
Integer comparsion... Then check for number of hero-type units.
09-22-2003, 01:47 PM#3
Grater
You want to either use "Integer comparison" and "Count units in unit group" or the boolean comparison "Unit group is empty"
For example:
Code:
((Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)) is empty) Equal to True