Hey, all! Long time lurker, first time poster. I was inspired by the Warcraft movie to create a custom map containing Orcs vs Humans. I only know how to use the WC3 World Editor.
The Orc Hero is Gul'dan, and I want it to be played by a custom AI (As it is a custom hero with altered Orc units, using custom abilities which the regular AI would not use). There are three players, one is the Alliance (Computer - Player 1), the Horde (Computer - Player 7) and the Hero (User - Player 4).
The Alliance (Computer) has no modifications to it, and I want it to use the melee AI. I created a custom AI for the Horde, which seems to work perfectly. I have a trigger that (at map initialization) that starts my custom AI for Player 7 (Green - Horde), however this conflicts with "Map initialization - Melee Game - Run melee AI scripts (for computer players)".
If I remove "Map initialization - Melee Game - Run melee AI scripts (for computer players)", then my trigger (Map initialization) successfully activates my custom script for Player 7, however Player 1 has no AI to control it. I created a custom AI that was completely unchanged from the template Blizzard has provided, and duplicated my trigger for Player 7, except it affiliates the new, unaltered AI to Player 1. For some reason, this didn't work and Player 1 continues to send Peasants to mine gold and make no further actions.
As I mentioned, if I have "Map initialization - Melee Game - Run melee AI scripts (for computer players)" initialized, then Player 7 makes no actions (Other than make Peons mine gold). If I remove it, Player 7 works but Player 1 becomes malfunctional.
I attempted to create a trigger that (after elapsed game time is X seconds) starts my custom Horde AI for Player 7, but this did not work. I was hoping if anyone has any solution to my issue, they'll help me out.
P.S. I'm sorry, I don't know how to link snippets of World Editor triggers, but I've attached screenshots.
The Orc Hero is Gul'dan, and I want it to be played by a custom AI (As it is a custom hero with altered Orc units, using custom abilities which the regular AI would not use). There are three players, one is the Alliance (Computer - Player 1), the Horde (Computer - Player 7) and the Hero (User - Player 4).
The Alliance (Computer) has no modifications to it, and I want it to use the melee AI. I created a custom AI for the Horde, which seems to work perfectly. I have a trigger that (at map initialization) that starts my custom AI for Player 7 (Green - Horde), however this conflicts with "Map initialization - Melee Game - Run melee AI scripts (for computer players)".
If I remove "Map initialization - Melee Game - Run melee AI scripts (for computer players)", then my trigger (Map initialization) successfully activates my custom script for Player 7, however Player 1 has no AI to control it. I created a custom AI that was completely unchanged from the template Blizzard has provided, and duplicated my trigger for Player 7, except it affiliates the new, unaltered AI to Player 1. For some reason, this didn't work and Player 1 continues to send Peasants to mine gold and make no further actions.
As I mentioned, if I have "Map initialization - Melee Game - Run melee AI scripts (for computer players)" initialized, then Player 7 makes no actions (Other than make Peons mine gold). If I remove it, Player 7 works but Player 1 becomes malfunctional.
I attempted to create a trigger that (after elapsed game time is X seconds) starts my custom Horde AI for Player 7, but this did not work. I was hoping if anyone has any solution to my issue, they'll help me out.
P.S. I'm sorry, I don't know how to link snippets of World Editor triggers, but I've attached screenshots.