AttackUnit

From Ashes of the Singularity - Official Wiki
Revision as of 20:51, 18 January 2017 by Patiobattle04 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The AttackUnit Script_Commands 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.