Difference between revisions of "I UnitDistanceFromLine (M2-Scripting)"
From TWC Wiki
Jump to navigationJump to search (New page: __TOC__ *'''Type:''' Condition *'''Trigger Requirements:''' None *'''Parameters:''' unit_label location_1 location_2 logic_token distance *'''CA Example:''' ...) |
m (Quick-adding category "M2TW Scripting Condition" (redirect M2TW Scripting Condition resolved (using HotCat)) |
||
Line 27: | Line 27: | ||
== See Also == | == See Also == | ||
*[[Conditions (M2-Scripting)]] - For links to other condition pages and information on parameters. | *[[Conditions (M2-Scripting)]] - For links to other condition pages and information on parameters. | ||
+ | |||
+ | [[Category:M2TW Scripting Condition]] |
Latest revision as of 14:24, 11 April 2009
- 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.