The Dink Network

Reply to Freeze, please!

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:
 
 
December 3rd 2009, 02:35 PM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
I've made a secret teleport on my DMOD that'll lead to a timed level (square 219). I got 5 cool screens with stuff on that goes along with a background tune, and I want Dink to appear in a flash after the screens and the tune. (the flash isn't in the script atm)

void main ( void )
{
sp_brain(&current_sprite, 6);
sp_pframe(&current_sprite, 1);
sp_seq(&current_sprite, 170);
sp_timing(&current_sprite, 33);
wait(1000);
sp_touch_damage(&current_sprite, -1);
}	

void touch ( void )
{
sp_touch_damage(&current_sprite, 0);
freeze(1);
script_attach(1000);
wait(500);
sp_brain(1, 0);
playsound(51, 32050, 0, 0, 0);
fade_down();
&player_map = 156
sp_dir(1, 4);
sp_x(1, 444);
sp_y(1, 283);
sp_nodraw(1,1);
load_screen();
draw_screen();
fade_up();
wait(1000);
&player_map = 188
load_screen();
draw_screen();
wait(1000);
&player_map = 220
load_screen();
draw_screen();
wait(1000);
&player_map = 252
load_screen();
draw_screen();
wait(750);
Playsound(52,42050,0,0,0);
&player_map = 219
load_screen();
draw_screen();
wait(750);
sp_brain(1, 1);
Playsound(53,42050,0,0,0);
sp_nodraw(1,0);
unfreeze(1);
kill_this_task();
}


Dink will be able to walk around, talk etc. invisible at the start of the screen sequence, during the whole thing and appearing afterwards, he won't freeze due to the script attach thingy I guess, but I want him to freeze at the start and unfreeze at the bottom of the script, when the timed level starts. Any way to get this to work properly? I hope you get what I mean.