AI Control commnad function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
New
|
Low
|
Unassigned |
Bug Description
There is a weird bug with it. What happens is things which are unbuildable to a side is buildable even wihout the correct prerequisite. Even civilians are buildable and the cause is the Owner= tag and since Yuri's buildings have only Owner=YuriCountry, they are still unbuildable but his units, infantries and base defenses still can be built.
##### STEPS TO REPRODUCE #####
1)Assign a hotkey for the AI Control (you MUST NOT deploy the conyard yet).
2)Use the hotkey.
3)And the AI assume control text will appear.
4)Watch that there are missing cameos in the building,
5)The defense tab is affected but no cameos appear at all.
6)And a crash happens if you click in the defense tab and undo the buying.
##### ADDITIONAL INFORMATION #####
Don't mind the buildings. Those ARE HolyMaster's work and I used it just for my private mod.
--"since Yuri's buildings have only Owner=YuriCountry."
Not true. Yuri's buildings have all countries listed as owners like all other buildings.
The real reason why all the infantry and tanks appear on the sidebar is simply the fact that at any given time the AI is for the most part able to build any unit at all from any faction at any time, given they have the correct factory and a proper AI TriggerType that tells them to create that unit.
Not entirely sure why all the buildings show up because prerequisites and AIBasePlanning all go in to limit the AI's ability to make buildings it shouldn't be making...