The Dink Network

Is it possible?

January 8th 2010, 08:38 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Is it possible to make a monster to, upon death, run it's death-sequence but not keep the last frame as background? Or to remove the frame just after it died?
January 8th 2010, 08:42 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
You can make the enemy itself invisible and place a copy of it on the same place and give it the death sequence with brain 7. That would probably do the trick.
January 8th 2010, 09:10 AM
spike.gif
If it's a custom sequence, the simplest way would probably be to add a blank image as the last frame of the sequence.

EDIT: Not applicable if you don't want it to always happen, though...
sp_brain(&current_sprite,7);
sp_sequence(&current_sprite,###);
sp_frame(&current_sprite,1);
in void die() might also work. I've personally never got the point of creating a copy of the current sprite, just doing stuff in the die procedure is so much simpler.
January 8th 2010, 09:33 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
I did as scratcher suggested, I really should have thought about that myself. I'm so stupid. Anyway, it's working now, thanks

EDIT: I just made another frame.