I'd like to make biggest ennemies visible through the trees, as they are 4 or 5 x bigger than the trees.
Is there a way to do that ? Or with a trigger ?
You could give them a buff behaviour that searches for nearby units that applies a revealer to them.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Not a bad idea, but it seems complicated as the units have not the same vision range.
You could use a validator that they are within the range of vision of the target unit maybe?
I am trying the validator Unit in Weapon Range, but it seems to not work.
First time that I use this one, is it working fine ?
I have put :
Unit : target
Other Unit : Caster
But it seems to validate everytime even out of range.
I have not experimented with that type of validator before. On which part of your effect tree are you adding it?
In the effect Search Area of the behaviour.
I think that I will just put a pseudo-random but relatively close range.
You should rather put it on the effect going back from the search to the caster. With your current setup the caster is within weapon range of itself for applying a search area centred around itself.
I don't konw how to set an effect back to the ennemy.
I can do a search for the behaviour but then the first step become useless and I prefer a lot that it is the ennemy (less numerous) who initiates it.
Have the enemy do the search that uses a Set effect. The set effect then uses an effect targeting the caster again which you can validate since the target of the search would now be the source.
I see, but what is the effect which can apply a vision on the ennemy ?
Under the Behavior: Modification - Modify Flags field of the Buff behaviour. You could also try the Show flag of the Modify Unit effect.