• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

dont shot over walls

Status
Not open for further replies.
Level 3
Joined
Nov 3, 2006
Messages
23
hi folks, i want my map to feel like under the earth but the ranged units fire over or throu walls when they see an enemy behind, is it possible to let them shot only in a "clear line of sight" ?
 
it checks if some point in the map or region or whatever is walkable for some of the types of "walking" for ie you cant walk over deep water but you can float on it or fly over it ... so walk will return false while floatability and fly will return true
 
<< Second Post in Thread >>
yea I missed that too xD
anyway
Only solution I can think is whenever someone tries to attack check destructables between them and if there is a destructable order target to stop

Dont think there is another solution
 
Status
Not open for further replies.
Back
Top