[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.
Back
Top