Warcraft III resources & community, 2003–2006 · archived

A very interesting idea for a sneak-em-up

16 posts
#16
I figured out a solution for you. Try setting the guard unit classification to worker. That will turn off their auto-targeting of units. Then create a variable array for your guards called Visibility and make the variable type "Angle". Set the angle to the position the guard is facing every .03 seconds. Afterwards write a trigger so that if the character is "visibility" angle from unit, then unit "Guard" attack unit "Target"

"you may need another variable for the target unit, but I think you get the point :wink: "