Player unit count

From AgeofWiki

Player unit count is a Condition which is accessed from the Triggers function. You can learn more about the Triggers window here. You can learn more about using conditions here.


Image:
Image:PlayerUnitCount.jpg

Condition Description:

This effect checks a player's count of a certain unit, and compares it with a given number.

Condition Parameters:

Player: The player whose unit count will be examined.
Unit: The protounit of the unit that will be checked.
Operator: An operator that compares the unit count of the player with the Number.
Number: A number that will be compared with the unit count.

Notes:

  • Example: if player 1 owns 67 Musketeers, the condition will fire when Player = 1, Unit = Musketeer, Operator = > and Number = 65 (or when Operator = == and Number = 67, or when Operator = >= and Number = 1, etc).

Still don't understand the Player unit count condition? Ask a question (http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=t&fn=12&f=12,,0,365) at our forum!

Back to Conditions