I want all enemyes which in close area near base and on higher cliff cannot attack you and your allyes
I make Behaviour Aura which in Area I need
Now I need that any enemyes who have this behaviour and at same time located on higher cliff level than their current target cant attack these targets. If there no this Behaviour applyed to them, they will can attack any targets on any cliff level. Can you help?
Or there more elegant way?
P.S. Added cliff validator and behaviour count validator to damage effect of enemy units. I can make they dont shot at targets with cliff level below or with certain behaviour but how stop attack them when they simultaneously on higher cliff and under buff. Combine validator not helps me.
A combine validator should be what you need. A validator that checked that the attacker either had 0 stacks of the behavior OR was targeting a unit at equal or greater cliff level to itself.
As I said its not helps. There other targets that can be targetted on same cliff level and must be attacked by source of behaviour. I think there must be also condition validator that checks if behaviour owner on higher cliff than it target then attack is unable
If target is on equal or greater ground then it can be shot.
In addition if it is on lower ground AND the attacker does not have have the behavior then it can be shot.
I want all enemyes which in close area near base and on higher cliff cannot attack you and your allyes
I make Behaviour Aura which in Area I need
Now I need that any enemyes who have this behaviour and at same time located on higher cliff level than their current target cant attack these targets. If there no this Behaviour applyed to them, they will can attack any targets on any cliff level. Can you help?
Or there more elegant way?
P.S. Added cliff validator and behaviour count validator to damage effect of enemy units. I can make they dont shot at targets with cliff level below or with certain behaviour but how stop attack them when they simultaneously on higher cliff and under buff. Combine validator not helps me.
@Form01: Go
A combine validator should be what you need. A validator that checked that the attacker either had 0 stacks of the behavior OR was targeting a unit at equal or greater cliff level to itself.
As I said its not helps. There other targets that can be targetted on same cliff level and must be attacked by source of behaviour. I think there must be also condition validator that checks if behaviour owner on higher cliff than it target then attack is unable
@Form01: Go
I really think my suggestion does exactly that...
If target is on equal or greater ground then it can be shot. In addition if it is on lower ground AND the attacker does not have have the behavior then it can be shot.
Solved it by myself.