Make the AI respect BuildLimit
Bug #894993 reported by
Marshall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
Fix Released
|
Medium
|
DCoder DCoder |
Bug Description
In the unmodded AI, there are two TaskForces that include TANY (Tanya) (I haven't checked how many triggers would invoke this). No checks are performed to make sure BuildLimit won't be broken when an AI trigger runs.
In my mod, I have seen the AI build three instances of a new hero unit due to the different TaskForces that include it.
Would be nice if the TeamType could specify
A) The trigger must be aborted if the BuildLimit of any units would be broken, or
B) The TaskForce can still be created but the offending units would have to be excluded (if this means the TaskForce would be empty then abort the trigger)
To post a comment you must log in.
Thos damn AI cheats! Too many of 'em, must all be sorted out, not just this one!