The AI, Catapults, and you

For some reason, the AI isn't building catapults in this build.

Anyone want to help debug this line of code?

3,944 views 4 replies
Reply #1 Top

Does that mean we are going to have pioneers attacking cities again? :|

Reply #2 Top

so we can expect the AI to besiege us with wave after wave of pioneer?

 

Reply #3 Top

you're checking if the thing you point at with pUnitType is a Pioneer and if so you're setting it's unit type role to catapult?!?!?

 

 

 

Reply #4 Top

Intellisense + not enough sleep = sneaky bugs.