The Dink Network

Reply to Arrows sticking in a shadow, what's going wrong?

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:
 
 
June 27th 2003, 04:53 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
I'm currently making a cave which is very dark, and if you hit a stone with an arrow, the darkness should go away. One problem: The arrows keep sticking in the darkness sprite
(a LOT of seq 30 frame 3 tiled in paint and saved it as another pic my-12.bmp).
Here are the Dink.ini lines of it:

load_sequence_now graphics\my- 850
SET_SPRITE_INFO 850 12 1 1 -1 -1 1 1

And this is the script attached to the object that creates the shadow:

void main( void )
{
sp_pseq(&current_sprite, 1);
sp_pframe(&current_sprite, 1);
int &crap;
int &xie = sp_x(&current_sprite, -1);
int &yie = sp_y(&current_sprite, -1);
&crap = create_sprite(&xie, &yie, 0, 850, 12);
sp_que(&crap, 1000);
&shadow = &crap;
sp_brain(&crap, 15);
sp_brain_parm(&crap, &current_sprite);
sp_nohit(&crap, 1);
}

(partially stolen from lantern scripts)

I can see the darkness floating above everything, but when I shoot with the bow, the arrow will just stick in the shadow.
What is wrong???