Now the problem is to say "not ( sniper[attackingSelf, med range] and mg[attackingSelf, med range]". I do not mind to do this with one node, I'm fine with more than one.
I know that
Code: Select all
not (A and B ) = notA or notB
Indeed if I do two parallel nodes (that is the OR), say "not exist sniper[attackingSelf, med range] OR not exist mg[attackingSelf, med range]"
the first node will be true when there is no sniper attacking even if there is an mg attacking, the second node will be true only if there is no mg since the sniper for sure is there and is attacking (due to priority).
Am I missing something? maybe I'm tired but I'm not completely sure that it will work (for the moment I'm using AND and then tags, instead of "notA OR notB without tags"), especially when I extend to 3 conditions (say, adding "if not exist sg[attackingSelf, med range]".