Smygarn777
Member
- Reaction score
- 6
Hello. Im making a map which features a mix of melee and custom games. An altered melee you could say.
For Starters, it has 4 Players each in their corners of the map, with the standard melee goal. Eliminate each other. They start with a goldmine and easy access to a second goldmine.
The difference between melee and non melee maps begin here though, there are no creeps on the entire map! What took their place is the Custom undead i have developed for the map, and they play out like a custom ai with a proper base etc.
These undead are situated in middle to isolate the players from each other, and they also have 2 graveyards adjacent to each player. The undead in the base remains rather defensive, the real offense from the undead that comes from the graveyards. They will spawn periodically and in attack groups move off to attack the players.
This is where i need help. I want the undead groups to attack the nearest "enemy" structure instead of following a region pointed out for them. These undead are simple in mind after all. The problem is, i dont know how to make them start moving towards the nearest enemy structure, and nobody i asked for help knows how to either.
Let me show you a picture of what im after:
First, we have the Undead graveyard in the bottom left, and the Undead Base at the top left. There is a goldmine between these two points and then we have the Player Starting Location at the right side. I want the undead group that spawns from the graveyard to attack purple's closest structure, not merely move to a region thats placed at Purple's starting location beacon.
(Note that there is not only Purple, but for Blue, Red and Teal as well i will be using this trigger).
Im puzzled and i dont know how to solve this, please help me.
For Starters, it has 4 Players each in their corners of the map, with the standard melee goal. Eliminate each other. They start with a goldmine and easy access to a second goldmine.
The difference between melee and non melee maps begin here though, there are no creeps on the entire map! What took their place is the Custom undead i have developed for the map, and they play out like a custom ai with a proper base etc.
These undead are situated in middle to isolate the players from each other, and they also have 2 graveyards adjacent to each player. The undead in the base remains rather defensive, the real offense from the undead that comes from the graveyards. They will spawn periodically and in attack groups move off to attack the players.
This is where i need help. I want the undead groups to attack the nearest "enemy" structure instead of following a region pointed out for them. These undead are simple in mind after all. The problem is, i dont know how to make them start moving towards the nearest enemy structure, and nobody i asked for help knows how to either.
Let me show you a picture of what im after:
First, we have the Undead graveyard in the bottom left, and the Undead Base at the top left. There is a goldmine between these two points and then we have the Player Starting Location at the right side. I want the undead group that spawns from the graveyard to attack purple's closest structure, not merely move to a region thats placed at Purple's starting location beacon.
(Note that there is not only Purple, but for Blue, Red and Teal as well i will be using this trigger).
Im puzzled and i dont know how to solve this, please help me.