Hi,
I'm bit thorn weather I should use mostly families or just do events per object. The problem I'm facing with setting up actions primarily trough Families is that I have to create a lot of additional variables to check conditions for different types of AI, and after a while whole trees of events stop being clear to me, and start to blur with each other. On the flip side, with families I can just do single For Each, so then I only pick object once trough the whole loop, theoretically saving on some of the time those kind of loops need to go tough. But then again, in some circumstances, like with enemies, I'm seeing a possibility of triggering event every x seconds, instead of checking on every loop.
So the question is, how do you go about that? What is the most clean and efficient approach? If you have a Family of enemies for example in which some of the enemies are mele and some shoot projectiles, do you just control all of them trough the family only, or you only use family actions for certain things... any help will be appreciated.