Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
CountUnits
From AACWWiki
|
Syntax CountUnits = area alias; region or area; faction; unit type; operator; number of units Description This condition is fulfilled if the specified number of units belonging to the specified faction exist in the specified area. Example CountUnits = $Close_to_Richmond;1;$USA;-1;>=;10 This condition will be fulfilled if the USA has 10 units (any type) in the Close_to_Richmond area. |
Parameters
String; alias of a region or area
0 or 1; 0 for region, 1 for area
String; alias of a faction
Integer; -1 for any type $Regular = 0 $Irregular = 1 $Militia = 2 $Cavalry = 3 $Artillery = 4 $Arty = 4 $SupplyType = 5 $Ship = 6
<,<=,>,>=,=
Integer; the number of units that will fulfil the condition | ||