📧 Message Board Archive

cave sprite
I'm attempting to make my first DMOD and have been having alot of trouble trying to find the cave sprite, the one you can put into a cliff.  I'd appreciate it if someone could tell me where it is.  Thanks.
Re: cave sprite
: I'm attempting to make my first DMOD and have been having alot of trouble trying to find the cave sprite, the one you can put into a cliff. I'd appreciate it if someone could tell me where it is. Thanks.



Sequence 89, frame 9.



Re: cave sprite
: : I'm attempting to make my first DMOD and have been having alot of trouble trying to find the cave sprite, the one you can put into a cliff. I'd appreciate it if someone could tell me where it is. Thanks.



: Sequence 89, frame 9.





A prime example of the script commanly attached to those holes:  (s1-hole)



void main( void )

{

preload_seq(452);

}





void touch( void )

{

if (&life < 1) return;



freeze(1);

sp_x(1, 274);

sp_y(1, 195);

sp_seq(1, 452);

sp_frame(1, 1);

sp_nocontrol(1, 1); //dink can't move until anim is done!

sp_touch_damage(&current_sprite, 0);

sp_brain(1, 0);

wait(2000);

sp_brain(1, 1);

&player_map = 131;

sp_x(1, 289);

sp_y(1, 377);

load_screen(131);

draw_screen();

}







Preload simply so when you touch it your comp doesn't slow down...then it checks health to make sure you're not dead, but your health bar just isn't down yet...then freezes dink and runs animation of crawling...warps you to wherever...simple, isn't it?