I've set up a little test where sheep collect material and bring it to the headquarters:
The material mountains are all the same object that have different values set for the instance variable material_number. This variable determines which animation is used and it also gives its value to the sheep's instance variable collecting_material_number when the sheep is dropped onto the mountain. When the sheep reaches the HQ, +1 is added to the appropriate material value (which is stored in an array).
Now the problem is that, when having reached the HQ, the sheep finds its path to the mountain in the middle, but not to the mountain which it first was dropped onto.
I'm looking for an event like
Find path to a mountain that has a certain value set at its instance variable, e.g. 2
I would appreciate any kind of help. Thank you.