Distance to unit

From AgeofWiki

Distance to unit 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:DistanceToUnit.jpg

Condition Description:

This condition checks the distance between a certain unit an a certain other unit.

Condition Parameters:

Source Units: Select the first unit(s) of the comparison. Click Show to center the view on the Source Units.
Target Unit: Select the other unit. Click Show to center the view on the Target Unit.
Operator: An operator to compare the distance between the two units with the value you enter.
Distance: Enter a distance. The condition will fire if this distance matches the distance between the units (compared with the operator).

Notes:


Still don't understand the Distance to unit 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