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

[Solved] Prevent destructables from sight blocking bigger units

Status
Not open for further replies.
Hi guys,

I have a line of sight problem in my map:

A small sized unit, a medium sized tree, a small sized building and a big sized building stand in a line.

Code:
            |b|
            |b|
    |t|     |b|
|u|_|t|_|b|_|b|

The unit can see the tree, but it can't see any of the buildings, because the trees are blocking the units line of sight.

How can I let the unit see the tall building (surpassing the tree), but not the small building?
I tried changing occluder heights, but setting a big value to the unit makes everything behind the tree visible, not only bigger stuff...

Much thanks in advance,
Eikonium
 
Last edited:
Status
Not open for further replies.
Top