AttackUnit: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Commands The AttackUnit Script_Commands command orders an army to attack a specific script-spawned unit. ==Arguments== *'''Name''' - The name of the unit to d...") |
No edit summary |
||
Line 1: | Line 1: | ||
The AttackUnit [[Script_Commands]] | The AttackUnit [[Script_Commands|command]] orders an army to attack a specific script-spawned unit. | ||
==Arguments== | |||
== Arguments == | |||
*'''Name''' - The name of the unit to do the attacking | *'''Name''' - The name of the unit to do the attacking | ||
*'''Target''' - The name of the unit to be attacked | *'''Target''' - The name of the unit to be attacked | ||
==Common Usage== | |||
*Sending attack waves at a VIP unit the player has control over but is supposed to be protecting | == Common Usage == | ||
==Limitations== | |||
*Cannot target or command units built 'organically' during the scenario, only script-spawned units. | *Sending attack waves at a VIP unit the player has control over but is supposed to be protecting | ||
== Limitations == | |||
*Cannot target or command units built 'organically' during the scenario, only script-spawned units. | |||
[[Category:Commands]] |
Latest revision as of 20:52, 18 January 2017
The AttackUnit command orders an army to attack a specific script-spawned unit.
Arguments
- Name - The name of the unit to do the attacking
- Target - The name of the unit to be attacked
Common Usage
- Sending attack waves at a VIP unit the player has control over but is supposed to be protecting
Limitations
- Cannot target or command units built 'organically' during the scenario, only script-spawned units.