Reply to Arghhhh.....!!!
If you don't have an account, just leave the password field blank.
I know how to warp dink to another screen, I did this before and it worked, but now I really don't get it:
void main(void)
{ sp_touch_damage(¤t_sprite, -1);
}
void touch(void)
{
freeze(1);
If(&mystory < 13)
{
move_stop(1, 4, 500, 1);
sp_dir(1, 6);
say_stop("It's locked", 1);
say_stop("There must be a key somewere", 1);
say_stop("Maybe a bonca swollowed it", 1);
unfreeze(1);
}else
{
fade_down();
script_attach(1000);
&player_map = 170;
sp_x(1, 100);
sp_y(1, 200);
load_screen();
draw_screen();
draw_status();
playsound(39,22050,0,0,0);
fade_up();
unfreeze(1);
kill_this_task();
}
}
I attached this script to a door. when &mystory<13 everything works fine. When &mystory=13(dink found the key), it should warp it to screen 170. The problem is that it fades down and does nothing after(it doesn't play the sound). If I delete the fade_down() command everything works fine, but I want to make dink say something while the screen is black.
void main(void)
{ sp_touch_damage(¤t_sprite, -1);
}
void touch(void)
{
freeze(1);
If(&mystory < 13)
{
move_stop(1, 4, 500, 1);
sp_dir(1, 6);
say_stop("It's locked", 1);
say_stop("There must be a key somewere", 1);
say_stop("Maybe a bonca swollowed it", 1);
unfreeze(1);
}else
{
fade_down();
script_attach(1000);
&player_map = 170;
sp_x(1, 100);
sp_y(1, 200);
load_screen();
draw_screen();
draw_status();
playsound(39,22050,0,0,0);
fade_up();
unfreeze(1);
kill_this_task();
}
}
I attached this script to a door. when &mystory<13 everything works fine. When &mystory=13(dink found the key), it should warp it to screen 170. The problem is that it fades down and does nothing after(it doesn't play the sound). If I delete the fade_down() command everything works fine, but I want to make dink say something while the screen is black.