X-maul
AKA: Demtrod
- Reaction score
- 201
I want to create an AI for a player slot.
I want it to use a building to produce units (which will be uncontrollable).
The building got 14 different units to send, for every level of the building (which can be upgraded).
The cost of the units goes from 10 to 1000 minerals.
There are also an option to upgrade a tower in a key position, which will be prefered.
How do I make an AI that will make the AI controllers send units when they got enough money, and preferable send the strongest units. And when they got a high enough income (a variable is >= 2000) upgrade the building, starting to send from the new unit selection.
NOTE: I know this can be done with triggers, but I'd like to know how I can use the AI editor for this.
I want it to use a building to produce units (which will be uncontrollable).
The building got 14 different units to send, for every level of the building (which can be upgraded).
The cost of the units goes from 10 to 1000 minerals.
There are also an option to upgrade a tower in a key position, which will be prefered.
How do I make an AI that will make the AI controllers send units when they got enough money, and preferable send the strongest units. And when they got a high enough income (a variable is >= 2000) upgrade the building, starting to send from the new unit selection.
NOTE: I know this can be done with triggers, but I'd like to know how I can use the AI editor for this.