The Dink Network

Hey guys...

February 1st 2003, 10:41 AM
milder.gif
Kory
Peasant He/Him Croatia
 
I have a problem:

void main (void)

{

freeze(1);

freeze(&current_sprite);

say_stop("'8Oh oh oh...please he...help", &current_sprite);

wait(500);

say_stop("Calm down! Now tell me what is wrong!", 1);

wait(500);

say_stop("'8The...the legendary dragon Lognosus has attacked us!", &current_sprite);

wait(500);

say_stop("Who the heck is Lognosus? And tell me all!", 1);

wait(500);

say_stop("'8He he is an evil dragon sended from hell! He has sended monster to the woods!", &current_sprite);

wait(500);

say_stop("How can i help you?", 1);

wait(500);

say_stop("'8There is an garden Gimbus garden! Go there there is an training center...", &current_sprite);

wait(500);

say_stop("And?", 1);

wait(500);

say_stop("'8Shop, libary, cafeteria, and lobys!", &current_sprite);

wait(500);

say_stop("Ok! Bye!", 1);

wait(500);

say_stop("'8Cough cough cough! Bye fellow traveler!", &current_sprite);

wait(500);

unfreeze(1);

unfreeze(&current_sprite);

&story = 5;

return;

}

}

if (&story > 5)

{

say("'8Cough go now!", &current_sprite);

}

void hit (void)

{

say("'8You hit like a b***h!", &current_sprite);

}

Ok! Look at this script right? When he says about the dragon and so i want to bring him to say cough go now all the time about the dragon only 1 time!

Please help!

--Kory
February 1st 2003, 11:08 AM
old.gif
PUT

if ( &story == 5 )

{

blablabla...

goto end;

}

in void main(void)

and at the after the last line in main(void) add

END:

like this:

void main(void)

{

if ( &story == 5 )

{

//he talked already

goto end;

}

the text...

END:

}

February 1st 2003, 11:11 AM
milder.gif
Kory
Peasant He/Him Croatia
 
: PUT

: if ( &story == 5 )

: {

: blablabla...

: goto end;

: }

: in void main(void)

: and at the after the last line in main(void) add

: END:

: like this:

: void main(void)

: {

: if ( &story == 5 )

:  {

:  //he talked already

:  goto end;

:  }

: the text...

: END:

: }