Craig_Sutter
Deity
I am spawning a unit in a city. If I know a city plot will...
Plot:GetNumDefenders(PlayerID) < 1
if true, allow the spawn without causing overstacking? Or does it count civilians as defenders?
Or is there a more direct way to detect if a plot will be overstacked?
PS I found Plot:GetNumUnits(), but I think that may count civilians as well.
Plot:GetNumDefenders(PlayerID) < 1
if true, allow the spawn without causing overstacking? Or does it count civilians as defenders?
Or is there a more direct way to detect if a plot will be overstacked?
PS I found Plot:GetNumUnits(), but I think that may count civilians as well.