Quick Request for a Definition

OrionVeteran

Deity
Joined
Dec 25, 2003
Messages
2,443
Location
Newport News VA
Can someone define exactly what a CultureRangeCity" is, as shown in the following Python Class reference?

BOOL isCultureRangeCity (PlayerType eOwnerIndex, INT iRangeIndex)

I'm hoping that a CultureRangeCity is a border city or a city that placed at the edge of the empire, as opposed to a city that is located deep inside the interior (i.e. surrounded by many other owned cities).
 
It will return true if the plot is within iRangeIndex of any city owned by eOwnerIndex. iRangeIndex is a culture level index. eOwnerIndex is a player index. It only return true if the city (any city) actually has the required culture level.

It gives you no information about which city it is and cannot be used in the way you was hoping for. As far as I know there is no such function, you'll need to code it yourself.
 
It will return true if the plot is within iRangeIndex of any city owned by eOwnerIndex. iRangeIndex is a culture level index. eOwnerIndex is a player index. It only return true if the city (any city) actually has the required culture level.

It gives you no information about which city it is and cannot be used in the way you was hoping for. As far as I know there is no such function, you'll need to code it yourself.

Working on a function now. Thanks for your reply.
 
Back
Top Bottom