The AI, Catapults, and you
from
Elemental Forums
For some reason, the AI isn't building catapults in this build.
Anyone want to help debug this line of code?

For some reason, the AI isn't building catapults in this build.
Anyone want to help debug this line of code?

Does that mean we are going to have pioneers attacking cities again?
so we can expect the AI to besiege us with wave after wave of pioneer?
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?!?!?
Intellisense + not enough sleep = sneaky bugs.
Welcome Guest! Please take the time to register with us.