The Dink Network

Reply to Add sprite in script

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 25th 2009, 09:30 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Ok, this is what i want to do.
When I use the healing spell I want to create a sprite at dinks location that run through the frames and then die, like this:
int &dinkx = sp_x(1,-1);
int &dinky = sp_y(1,-1);
create_sprite(&dinkx,&dinky,7,890,1);
sp_frame(&return,1);

The problem is that only the first frame appear in-game.
Here's a screenshot of the graphics folder:
http://img15.imageshack.us/img15/5001/folderaw.jpg
And a screenshot of the Dinkini text:
http://img85.imageshack.us/img85/4302/dinkini.jpg
If i add the sprite in windinkedit set the brain to reapeat and baseidle to 890 it play through all frames.

Anyone know how to solve this problem?