First forum post, woo!!
Alright so a friend and I are in development of a one-screen arcade style platformer, which has many of the same kind of enemy walking around the level. So, naturally, we used families to make sure all the different types of NPCs would interact with the player and the world the same way.
We have one enemy type under the family as of now, and with one of them on screen, the code seemed to work nicely.
(The enemy tries to avoid the player, and will climb up if above the player and climb down when below the player.)
However, when multiple instances of this enemy were placed around the level, some of the enemies would float in the air for a little while when climbing up a ladder...
It seems that the code for the enemy getting off the ladder isn't triggered since there are other enemies still on different ladders. How can we get the code to affect individual instances of the family members, rather than taking account to every member of the family?