- Joined
- Dec 3, 2020
- Messages
- 968
So I made an AI script which tells the AI to use Battle Golems in its attack waves, but instead of the unit being trained from a structure, it is built from a Peasant.
I gave it the Mechanical Unit Classification and I was able to construct the units with a Peasant without an issue but the AI does not do it.
Any idea how I can make it work?
And yes, the JASS script works fine, that is not the issue.
Perhaps do I need to use the Ancient Protector structure (with Battle Golem model) and when it is finished being constructed, tell it through a trigger to uproot and then remove the root/uproot ability from the unit?
Since in the campaign, the AI uses Ancient Protectors in the missions where you play as Grom to attack you and it works in the campaign.
Thank you in advance!
I gave it the Mechanical Unit Classification and I was able to construct the units with a Peasant without an issue but the AI does not do it.
Any idea how I can make it work?
And yes, the JASS script works fine, that is not the issue.
Perhaps do I need to use the Ancient Protector structure (with Battle Golem model) and when it is finished being constructed, tell it through a trigger to uproot and then remove the root/uproot ability from the unit?
Since in the campaign, the AI uses Ancient Protectors in the missions where you play as Grom to attack you and it works in the campaign.
Thank you in advance!