Hi there,
I have some issues creating multiple enemies of same type reacting different for each...
I read the forum topics for days and hours - same thing happend to the manual but i couldn't really find an answer for my problem. At least - it's all about the "ForEach" Condition, isn't it?
I wanna explain short.
Each enemy is a sprite. Each enemy sprite is assigned to the Family "Enemies". The Family "Enemies" has different Variables and Behaviors set. Each Enemy, as a child of Family "Enemies", will earn these Var. and Behaviors. Each Enemy within the Family is triggered by different AI Code in the same way I attached to this post.
For now, every Enemy will move independently and Health will be calculated correctly, as far as I can see... But, for example, I have some effects assigned to the Family "Enemies" which are triggered on collision with my players bullet which almost works too but sometimes the enemies wont react correctly. Almost the Enemys Instance #0 doesn't react properly. Although, I have 4 Types of the same Enemy on screen - 3 of them die - 1 stays alive but won't react in any way.
For sure I tested a thousand ways last days and watched each Enemys reaction due to each change I made within my coding stuff... Now, I'm really really confused about what to pick, when to pick, where to pick - nick ... Pls tell me, if someone know - what am I doing right - where are things going to be wrong...
Cheas