Okay I'm pretty much a newbie at using the Warcraft 3 world editor, but I'm trying the best I can.
What I'm trying to do is make a map where human players pick a hero and fight against regular computer opponents. Victory is achieved by destroying an enemy building keep in the heart of their base.
To spice things up I added some spiced up turrets to defend the middle ground on both sides, and have both sides auto-generate a few guys that charge towards the other side every minute or so. Things are going slow as I learn the program, but atm I have two main problems:
1.I want units to stop being generated if a specific building is destroyed, so I tried adding a condition that if a unit entered a specified region (where the building was), and if said unit was a building, the trigger would go off. It didn't work, what am I doing wrong?
2. I need to use the melee AI in order for the computer to do it's thing, but I can't figure out how to make SPECIFIC computer players do what I tell them to do (i.e. send those generated units to attack). I've got triggers in the region in which they are generated that periodically sends commands to patrol to the enemy base, but the melee AI overwrites those commands and uses the generated units like regular units. Is there any fairly easy way around this?
Any help would be greatly appreciated
What I'm trying to do is make a map where human players pick a hero and fight against regular computer opponents. Victory is achieved by destroying an enemy building keep in the heart of their base.
To spice things up I added some spiced up turrets to defend the middle ground on both sides, and have both sides auto-generate a few guys that charge towards the other side every minute or so. Things are going slow as I learn the program, but atm I have two main problems:
1.I want units to stop being generated if a specific building is destroyed, so I tried adding a condition that if a unit entered a specified region (where the building was), and if said unit was a building, the trigger would go off. It didn't work, what am I doing wrong?
2. I need to use the melee AI in order for the computer to do it's thing, but I can't figure out how to make SPECIFIC computer players do what I tell them to do (i.e. send those generated units to attack). I've got triggers in the region in which they are generated that periodically sends commands to patrol to the enemy base, but the melee AI overwrites those commands and uses the generated units like regular units. Is there any fairly easy way around this?
Any help would be greatly appreciated