Hi!
I have a problem selecting object by UID. I am creating objects in pairs, on creation I put UID of one object into Instance variable of other. Then when I want to move one object toward paired one, it should pick coordinates from picked object and go there, but all objects are going towards the same target.
Object creation
Object and value assigning works fine, fish has proper UID in Instance variable
Then I try to use that value like this:
in first condition instance of Fish is picked, in second, paired instance of Target from UID should be picked, but it always picks first instance of the Target.
Any idea what I am doing wrong?