Oct 13, 2007, 03:04 PM
In CvCity.cpp there's a function which returns the total number of specialists, but how do I get a number of *specific* specialists? For example, how do I figure, how many engineers are in the city?
I know the answer must be simple, but I just can't find it.
Oct 19, 2007, 09:13 PM
Ok, does this mean that nobody knows, or am I simply asking a stupid question?
Oct 20, 2007, 12:59 AM
Maybe both? :)
I haven't looked into it myself so I fall under the 'nobody knows' category. If nobody else has answered by Monday when I have some more free time I'll take a look into it.
Oct 20, 2007, 06:17 AM
It looks like you want to use:
int CvCity::getSpecialistCount(SpecialistTypes eIndex)
Oct 20, 2007, 10:43 AM
It looks like you want to use:It does indeed, thanks.