- Joined
- Sep 10, 2022
- Messages
- 101
I am new to War3 World Editor and I am trying to do monster waves that will attack the player's/computer 's camp. I made a custom unit called "City Gate", just to block monsters for a certain amount of time in terrain passages. I assumed that the enemy units would attack the gate in priority (because they have no choice and there is nothing else to attack), the Gate is owned by the player, but they just stand there and watch as they are killed by towers...
And I am going to fix this, but I am not sure what to do. At first, I wrote a script that will force the enemy to attack the Gate. But it will only work for this Gate. So, If the solution is trigger, I wonder how to force the enemy to attack not the Gate, but the Type of Unit, so the enemy will have priority on the Gate Type Unit. (I mean I am bad at this stuff)
Or at last, it should be easier to give the Gate previously invented (but not yet ready) custom ability, like "Passive Taunt" ?
And I am going to fix this, but I am not sure what to do. At first, I wrote a script that will force the enemy to attack the Gate. But it will only work for this Gate. So, If the solution is trigger, I wonder how to force the enemy to attack not the Gate, but the Type of Unit, so the enemy will have priority on the Gate Type Unit. (I mean I am bad at this stuff)
Or at last, it should be easier to give the Gate previously invented (but not yet ready) custom ability, like "Passive Taunt" ?