Thank you very much fot the answer!
It works fine with the player who must be ennemy of those "creeps", but I have a problem with the other one : if I set the allegiance to player 1 to neutral (via scripts), the creeps won't attack me, but I am able to attack him. And my units auto-attack them if they are near them.
I thought of 2 solutions :
- if I set the allegiance to neutral, maybe we can find a script who prohibits attack each other. But I don't know if such a script exists...
- if I set the allegiance to Friends, we can find a script who remove the shared sight. Sadly I didn't find such a script too.
Or do you have another solution ?
EDIT: I tried to set the allegiance to "Friends", and the problem was the same : I can attack the units that are supposed to be my allies