Getting the ai to not build a unit

Here's what I tried so far. (These give a no interface result.)
 

Attachments

  • CvGameUtils.7z
    4.9 KB · Views: 33
You have not used the code I provided. Whitespace is important, you must indent the return true after the if statement as python uses indentation to nest functions! Also you need to remove the return false at the end, or it wol't have any effect.
 
Top Bottom