Game Development Community

How?

by Firas · in Torque Game Engine · 11/11/2004 (4:03 pm) · 1 replies

I have an AIPlayer, I wont make hime feel , just a simple thing, how can I make him (the AIPlayer) know if I shoot him or when a projectile explode on him?

thanks on advance.

#1
11/12/2004 (10:28 am)
There should be an onDamage method in script that gets called when he is hurt.