Reply to Re: Scary D-Mods
If you don't have an account, just leave the password field blank.
Can someone help me with this script??
This is only a piece of the entire script, but the problem is here.
When the script runs everything works well, until that part where's written "so far so good"
I can see the "draw status" and "hard map" but after this, the script "rewinds" and the talk starts again...
The script keeps repeating, the knight and Dink are still freezed, so any ideas??
// Live Knight (#1)
void main( void )
{
if (&world == 1)
{
freeze(1);
say_stop("A knight?!", 1);
wait(250);
say_stop("Are you OK??", 1);
wait(250);
sp_touch_damage(¤t_sprite, 0);
wait(3);
copy_bmp_to_screen("tiles\shadow.bmp");
wait(500);
script_attach(1000);
draw_screen();
draw_status();
draw_hard_map();
playsound(24, 22052, 0, 0, 0);
&junk = create_sprite(&gx, &gy, 12, 171, 16);
sp_brain_parm(&junk, 500);
sp_timing(&junk, 1);
sp_que(&junk, 999);
// So far so good...
&screen = 0;
spawn("followin");
int &junk = ¤t_sprite;
script_attach(1000);
sp_script(&junk, "follower");
int &hold = sp_editor_num(&junk);
unfreeze(1);
editor_type(&hold, 1);
&world = 2;
kill_this_task();
}
}