Reply to Re: Kill that rock
If you don't have an account, just leave the password field blank.
It's not that hard to do: use this hit procedure in the rock's script:
void hit(void)
{
int &rcrap = compare_sprite_script(&missle_source, "dam-bomn");
if (&rcrap == 1)
{
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
sp_active(¤t_sprite, 0);
playsound(43, 22050, 0,0,0);
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
}
}
The rock should dissapear when you use a normal bomb on it.
void hit(void)
{
int &rcrap = compare_sprite_script(&missle_source, "dam-bomn");
if (&rcrap == 1)
{
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
sp_active(¤t_sprite, 0);
playsound(43, 22050, 0,0,0);
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
}
}
The rock should dissapear when you use a normal bomb on it.






