The Dink Network

Reply to Re: Kill that rock

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 5th 2006, 05:52 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
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(&current_sprite, 1);
draw_hard_sprite(&current_sprite);
sp_active(&current_sprite, 0);
playsound(43, 22050, 0,0,0);

int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
editor_type(&hold, 1);
}
}

The rock should dissapear when you use a normal bomb on it.