I have a family called enemies and this family has turret behavior.
I made a “shoot” function.
I have a condition set to “enemies on shoot” with the event being call function “shoot” and pass “enemies.uid to function UID set as parameter.
The function just spawns the bullet if enemies uid is equal to parameter uid.
So the problem is it only works on instance zero of my enemies family.I am sure i am doing something wrong because if i just make a regular condition event it works fine for all instances of the family.