Reply to Re: they attack eachother to
If you don't have an account, just leave the password field blank.
Delete the sp_target line. This causes the sprite the script is attached to (¤t_sprite) to target whatever has attacked it (&enemy_sprite).
void hit( void )
{
playsound(58, 22050,0,¤t_sprite, 0);
sp_target(¤t_sprite, &enemy_sprite);
//lock on to the guy who just hit us
//playsound
}
void hit( void )
{
playsound(58, 22050,0,¤t_sprite, 0);
sp_target(¤t_sprite, &enemy_sprite);
//lock on to the guy who just hit us
//playsound
}






