SetAssaultGroup
- Parameters
qty integermax integerunitid integer- comment
- patch
1.00
- Source
- common.ai (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
function SetAssaultGroup takes integer qty, integer max, integer unitid returns nothing call Conversions(max,unitid) if qty <= 0 and TownCountDone(unitid) == 0 then return endif set harass_qty[harass_length] = qty set harass_max[harass_length] = max set harass_units[harass_length] = unitid set harass_length = harass_length + 1 endfunction