phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
What I'd like to do sounds simple enough. Basically take this:
And make it
So how do I globally check if the Religion is present, is there a way to get the AI to count it's global presence, and return it as a real number?
Code:
if pCity.isHolyCityByType(iReligionLoop):
iHC = -50
Code:
if pCity.isHolyCityByType(iReligionLoop):
if: #Check.RealNumbforiReligionGlobal > 1
return -1
else:
iHC = -50
So how do I globally check if the Religion is present, is there a way to get the AI to count it's global presence, and return it as a real number?