Is there an easy way to check if a specific unit is in a specific capital? I have tried different things with CvCity:lot() and CvUnit:lot() but I can't seem to get anything to work. In addition, does GC.getNumUnitInfos() return the number of units in the game (like one for warrior, one for archer, one for axeman, etc.) or the number of units currently in play (on the map). If it returns the former, do I have to use CvPlayer::firstUnit() and CvPlayer::nextUnit() to get a specific unit?
Thanks in advance!
Thanks in advance!