I UnitDistanceFromLine (M2-Scripting)
From TWC Wiki
Jump to navigationJump to search- Type: Condition
- Trigger Requirements: None
- Parameters: unit_label location_1 location_2 logic_token distance
- CA Example: I_UnitDistanceFromLine roman_archers river_line_A river_line_B < 20
- CA Description: Tests the specified unit's distance from the line (looking from A to B, a unit to the left of the line will give a negative distance, one on the right will be positive)
- Battle/Strat: Battle
- Class: UNIT_DISTANCE_FROM_LINE
Detailed Description
None currently
Sample Scripts
None Currently
Sample Triggers
None Currently
See Also
- Conditions (M2-Scripting) - For links to other condition pages and information on parameters.