Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 395 Bytes

warriorslib.garrisonwarriors.md

File metadata and controls

13 lines (8 loc) · 395 Bytes

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)