So I have a Family and with that family, I have variables set up like
Carnivore
Herbivore
Omnivore
If the NPC is a Carnivore I set the Carnivore Variable to 1 all other Variables 0
If the NPC is a Herbivore I set the Herbivore Variable to 1 all other Variables 0
If the NPC is an Omnivore I set the Omnivore Variable to 1 all other Variables 0
[Im using pathfinding and line of site btw top down game]
How can I get the carnivores and omnivores to go after the npc's with the herbivore variable that is = to 1?
I was thinking something like this but it doesnt work
gyazo.com/53eca3611f604689945e6a49388abdd6