Reply to Re: Story scripts suck
If you don't have an account, just leave the password field blank.
I'm guessing your void main crashes it. Remove it.
This is a script I've used and I can't imagine what could make it not work when using the original Dink scripts. If you've done something to item-bom.c, dam-bom.c or dam-bomn.c that might cause it to work improperly too.
void hit()
{
int &bomba = compare_sprite_script(&missle_source, "dam-bomn");
if (&bomba == 1)
{
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
sp_active(¤t_sprite, 0);
}
}
This is a script I've used and I can't imagine what could make it not work when using the original Dink scripts. If you've done something to item-bom.c, dam-bom.c or dam-bomn.c that might cause it to work improperly too.
void hit()
{
int &bomba = compare_sprite_script(&missle_source, "dam-bomn");
if (&bomba == 1)
{
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
sp_active(¤t_sprite, 0);
}
}