Hi! I cant figure out to do this:
a) Imagine that I have clones from the same sprite, lets say, cats.
b) The cats have a Local Variable like energy (for example EnergCat). Its random and unique for each cat as they born as clones.
c) Now there are clones of dogs (from other sprite) near the cats.
d) Dogs will attack the nearest cat only if EnergCat is less than a given value, 10 for instance.
e) How can I make a script for the dogs know the EnergCat, since thats specific and local? I mean, in the scripts for the dog, I cant find the EnergCat...
I hope I was clear lol. Thanks!!