actor destroy when punched
Posted: Wed Aug 25, 2004 10:59 pm
hi there im relatively new to this though i have been through all the tutorials. I have made an actor (jon) destroy another actor (player) on collision. but i would like player to destroy jon if player is punching.
I do not know too much about visual basic code ar anything like it but i came up with this
if ("player") .animindex = ("punch")
then Destroyactor("jon")
please could anyone help?
I do not know too much about visual basic code ar anything like it but i came up with this
if ("player") .animindex = ("punch")
then Destroyactor("jon")
please could anyone help?