• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Unit Attack Path Detection

Status
Not open for further replies.
Level 2
Joined
Dec 16, 2012
Messages
12
I'm currently working on a modern military squad based map where detection of cliffs in the line of fire is absolutely necessary, but the triggers I made for this purpose cause huge lag problems and I can't think of another way of doing it which doesn't have this very same problem.

Is there a way of making a trigger where not only will a unit refuse to attack through a cliff but they will prioritize targets that aren't on the other side of a cliff? To be clear I need to make it where units won't even trigger a response of "unit detects target within range" event. Is this even possible without killing the players with lag?
 
Status
Not open for further replies.
Top