The Dink Network

Reply to Re: Scary D-Mods

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:
 
 
September 10th 2007, 09:48 AM
knightgl.gif
CastMan
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 

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(&current_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 = &current_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();

}

}