Units in area

From AgeofWiki

Units in area 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:UnitsInArea.jpg

Condition Description:

The effect will fire the when certain unit(s) in the in the selected area.

Condition Parameters:

Player:The player that owns the units that will be in the selected area

Unit type:The type of unit(s) that must appear in the selected area for the trigger to fire

Radius:The area from the "Center Unit" the unit(s) must appear in for the trigger to fire

Operator:Description

Count:The number of units that must appear in the selected area.

Notes:

In order to properly use this trigger, you must have an object already placed. Once you have an object placed, click on center unit, then click on the object that you want the center of the circle to be. To test to make sure that the correct object is selected, move your screen so that it is no longer visible, then click on show. The screen should move so that the object is in the center. The operators refer to how many units are within the radius of the circle, for example, if you set the operator to >= and the count to 3, then the trigger will only fire if there are 3 or more units in the radius.


Still don't understand the Units in area 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