View Full Version : Unit Stack Limits


sourboy
Aug 23, 2007, 04:32 PM
How does one adjust BTS so that there's a limit to the maximum number of units in a unit stack?

Guide link or instructions appreciated!

Dale
Aug 23, 2007, 05:01 PM
In the SDK: CvSelectionGroup::joinGroup().

Just put in a check for how many in target group and return false if it's too big.

sourboy
Aug 24, 2007, 03:17 PM
thanks, what's the actual code on that or is it already there where I'd edit the parameters?

Jeckel
Aug 25, 2007, 04:14 PM
For those interested, here (http://forums.civfanatics.com/downloads.php?do=file&id=6853) is a python comp that allows you to limit the max number of units that can be in a tile at one time. :)

sourboy
Aug 25, 2007, 04:20 PM
awesome! :band: