• 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.

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" ?
 
Level 11
Joined
Dec 31, 2007
Messages
780
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
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
<< 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
 
Level 34
Joined
Jul 4, 2007
Messages
5,552
Regions.

Regions, because if unit/missile A crosses through Region A, it's OK. If unit/missile A crosses through Region B, it dies.

Understood?
 
Status
Not open for further replies.
Top