MP®
Member
- Reaction score
- 11
I'm looking for some way to detect invisible units, but only those who are in front of a hero.
I thought about a trigger that creates a dummy unit at Position of hero with polar offset (hero facing angle) of about 500 (so it is in front of the hero) with the True Sight ability (500 range) but without own sight every 0.xx seconds.
This might work, but creating a dummy unit multiple times per second PER HERO makes the game very slow... I tried it with every 0.50 sec and the game lagged like hell..
So is there maybe another way to do this?
Is there a way to 'detect' an enemy unit with triggers btw? Without disabling its invisibility ability? Then it shouldn't be too hard (just pick units in region of point and make them 'detect' by player X)
I thought about a trigger that creates a dummy unit at Position of hero with polar offset (hero facing angle) of about 500 (so it is in front of the hero) with the True Sight ability (500 range) but without own sight every 0.xx seconds.
This might work, but creating a dummy unit multiple times per second PER HERO makes the game very slow... I tried it with every 0.50 sec and the game lagged like hell..
So is there maybe another way to do this?
Is there a way to 'detect' an enemy unit with triggers btw? Without disabling its invisibility ability? Then it shouldn't be too hard (just pick units in region of point and make them 'detect' by player X)