AddAssault

Parameters
qtyinteger
idinteger
comment

Creates a group from already-existing units that can be assigned to attack a specific target. When AttackMoveXY is called then this group will attack the specified target.

note

Important: in order to use this native, CreateCaptains must be called first or the game will crash. It is already called in the function CampaignAI found in common.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