

(kbTechGetStatus(cTechStoneFortifiedWalls) = cTechStatusActive) & (kbTechGetStatus(cTechStoneWall) = cTechStatusActive) & If ((kbTechGetStatus(cTechWoodenFortifiedWalls) = cTechStatusActive) &

If (getUnit(cUnitTypeWallConnector, cMyID, cUnitStateAlive) > = 0)

Here is the code I've made to get the AI to improve their walls, I don't think there is a mistake in it, but well I don't see where the problem may be coming from, if not from there :Īnd then, almost at the end of the file : So I started modding the AI, but everytime I change just one thing in the aiDraugurMain.xs, the AI doesn't load whenever I launch a skirmish game, and I get that error message "error 0003 : could not compile ailoaderstandard.xs" or so. Problem is, I wanted the AI to upgrade their walls once they're built. So here it is : I downloaded the extreme fortifications 3.0 mod and the wall building AI (base on Draugur AI 7) made to work with this one, and both of these work just fine. Hello everyone, I recently started to get interested to AI modding, but I have encountered a little problem.
