AddAssault
- Parameters
qty integerid integer- comment
Creates a group from already-existing units that can be assigned to attack a specific target. When
AttackMoveXYis called then this group will attack the specified target.- note
Important: in order to use this native,
CreateCaptainsmust be called first or the game will crash. It is already called in the functionCampaignAIfound incommon.ai.- patch
1.00
- Source
- common.ai (raise an issue to discuss on Github or submit a PR)
- return type
boolean- Source code
native AddAssault takes integer qty, integer id returns boolean