Cybah
Emperor
- Joined
- Jun 22, 2007
- Messages
- 1,481
This does not work for the AI:
For the human player everything is fine.
The AI won't select any new tech with "pPlayer.chooseTech(1, '', False)" and "pPlayer.AI_chooseFreeTech()" does not seem to work either. I've tried both.
Any ideas? How can I give free techs to AI players?
PHP:
## free tech testing start ##
if pPlayer.isHuman():
pPlayer.chooseTech(1, '', False)
if not pPlayer.isHuman():
pPlayer.AI_chooseFreeTech()
## free tech testing end ##
For the human player everything is fine.
The AI won't select any new tech with "pPlayer.chooseTech(1, '', False)" and "pPlayer.AI_chooseFreeTech()" does not seem to work either. I've tried both.
Any ideas? How can I give free techs to AI players?