Function SetMeleeGroup
| 1514 | function SetMeleeGroup takes integer unitid returns nothing |
| 1515 | if unitid == hero_id then |
| 1516 | call SetAssaultGroup(1,9,unitid) |
| 1517 | else
|
| 1518 | call SetAssaultGroup((TownCountDone(unitid)*3)/4,20,unitid) |
| 1519 | endif
|
| 1520 | endfunction
|