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

How do i make units not able to shoot/see through object?

Status
Not open for further replies.
Level 8
Joined
Nov 21, 2008
Messages
316
Ive been testing my game for sometime now, and i have buildings(outlines/detailedinside) but i cant figure out how to make units not able to see past the walls i made.

This is an example of the problem.

[o l ] []is the building outline
l the o is the unit and the wall is l, i want to know what kind of doodad or what can i use to make the unit not able to see past or attack through it?
 
Don't do this if you don't have a lot of time -- if you want to get really flashy, you can remove all of your units' natural line of sight and create regions around your map ONLY where you want the units to be able to see, and then create "visibility modifier in region" at a region whenever you want to enable sight to it (so the other side of the wall is not yet visible until your triggers tell it to be)
 
Status
Not open for further replies.
Top