so for some reason despite the previous fix that i received for the AI that did actually make them rebuild their lost buildings now iam using the same code and they don't rebuild anymore for some reason, and i am not sure what causes it exactly.
Not to mention that one of my AI Scripts was causing the game to crash for some reason the fix i found for it was to change the
call SetBuildUpgrEx(1, 1, 2, CENTAUR_STRONGHOLD)
call SetBuildUpgrEx(1, 1, 2, CENTAUR_FORTRESS)
to
call SetBuildUnitEx(1, 1, 2, CENTAUR_STRONGHOLD)
call SetBuildUnitEx(1, 1, 2, CENTAUR_FORTRESS)
i am quite confused on hos this even works to be honest, for now though what i mainly need is to understand what caused my AI to not function right again
Not to mention that one of my AI Scripts was causing the game to crash for some reason the fix i found for it was to change the
call SetBuildUpgrEx(1, 1, 2, CENTAUR_STRONGHOLD)
call SetBuildUpgrEx(1, 1, 2, CENTAUR_FORTRESS)
to
call SetBuildUnitEx(1, 1, 2, CENTAUR_STRONGHOLD)
call SetBuildUnitEx(1, 1, 2, CENTAUR_FORTRESS)
i am quite confused on hos this even works to be honest, for now though what i mainly need is to understand what caused my AI to not function right again
Attachments
Last edited: