Settlers United Wiki
S4: WarriorsLib EN
Search
K
Links
Comment on page

WarriorsLib.GarrisonWarriors

WarriorsLib.GarrisonWarriors(buldingid, player)

Garrison a building. This makes a military building to search nearby units and when found command them to enter the specified building to completely occupy all spots in the building.

return value

none
WarriorsLib.GarrisonWarriors(Buildings.GetFirstBuilding(1, Buildings.GUARDTOWERSMALL),1)