I made a trigger where a specific creep unit goes to attack a base, but as the title says, it pulls back after attacking for a few seconds, or the base is too far away for it to even reach it. Is there a way to prevent this without affecting the gameplay constants or keeping the player as neutral hostile?
Edit: I've tested it out and seems like a periodic time event does the job best. But it seems a bit.. questionable. They are triggered to randomly attack a player, and due to the periodic time event they dilly-dally until they finally arrive to said base, so the more time the periodic event has the more unit goes to a specific location, but this means they are more likely to retreat due to the nature of return distance, which means they will target another player and the cycle repeats.
Edit: I've tested it out and seems like a periodic time event does the job best. But it seems a bit.. questionable. They are triggered to randomly attack a player, and due to the periodic time event they dilly-dally until they finally arrive to said base, so the more time the periodic event has the more unit goes to a specific location, but this means they are more likely to retreat due to the nature of return distance, which means they will target another player and the cycle repeats.
Last edited: