Okay, the problem is that I have a collision check against a bullet and a family(whose members are the enemies)..The problem is I can't seem to pick that specific object in the event itself.
> Bullet OnCollision(Mafia)
CallFunction(BloodAnim) <-- this works
Mafia.Value('life') -= 1 // doesn't work. it doesn't do anything not even subtract from all the members of the family.. it just does NOTHING.
BulletDestory <-- this works as well
Okay so I tried the advanced collision:
Advanced COllision (Bulle, Mafia) <-- both set to 'pick'
CallFunction(BloodAnim) <-- this works
Mafia.Value('life') -= 1 // nothing!
BulletDestory <-- this works as well
[/code:2gy7kr96]
I wonder how to get around this? I can't find myself checking against all type of enemy objects for collision.