The Dink Network

Reply to Re: Story scripts suck

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 3rd 2005, 09:18 PM
spike.gif
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(&current_sprite, 1);
draw_hard_sprite(&current_sprite);
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
editor_type(&hold, 1);
sp_active(&current_sprite, 0);
}
}