Hi there, I'm creating an escape map and I'm in need of a good working trigger to kill the escapers when they get near creeps, and for those who want to give the immolation suggestion, please don't. I have my reasons for that... as I have a hero that has 30% chance to dodge an incoming enemy (and that doesn't work with immolation, does it?).
Of course there is this simple way by just doing it like this:
But I don't want that, it will cost way too much time and only works with pre-placed units.
For those who ever played Escape Builder, they know what I mean. I want some sort of trigger which checks if YOUR hero is within 100.00 of a Unit-Type (instead of making 1000 events for one unit-type).
I wonder if that is even possible. If it is, please help me out
Of course there is this simple way by just doing it like this:
Code:
Holy Creeps Deadly
Events
Unit - A unit comes within 100.00 of Small Holy Creep 0067 <gen>
Unit - A unit comes within 100.00 of Small Holy Creep 0068 <gen>
Unit - A unit comes within 100.00 of Small Holy Creep 0069 <gen>
Unit - A unit comes within 100.00 of Small Holy Creep 0070 <gen>
Unit - A unit comes within 100.00 of Small Holy Creep 0071 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Kill (Triggering unit)
But I don't want that, it will cost way too much time and only works with pre-placed units.
For those who ever played Escape Builder, they know what I mean. I want some sort of trigger which checks if YOUR hero is within 100.00 of a Unit-Type (instead of making 1000 events for one unit-type).
I wonder if that is even possible. If it is, please help me out