GuardSecondary
- Parameters
townid integerqty 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 GuardSecondary takes integer townid, integer qty, integer unitid returns nothing if TownHasHall(townid) and TownHasMine(townid) then call SecondaryTown( townid, qty, unitid ) endif endfunction