The Dink Network

Reply to Re: Talking

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:
 
 
May 8th 2005, 02:13 AM
dragon.gif
it still won't work!
i have made a global that looks like this
make_global_int("&story",0); and i have made the story to go on like this
void talk(void)
{
freeze(1)
freeze(¤t_sprite)
if (&story == 0)
if(&story==0)
say_stop("Hello, mother", 1);
wait(250);
say_stop("`5hello darling, what about going to johnny?", ¤t_sprite);
wait(250);
say_stop("Great idea! Bye mum!", 1);
wait(250);
say_stop("`5remember to come home for dinner!", ¤t_sprite);
wait(250);
&story = 1;
unfreeze(1)
unfreeze(¤t_sprite)
}
}
but here when they talk dink can walk around because it wont freeze...

and this

void talk(void)
{
freeze(1)
freeze(¤t_sprite)
if (&story == 1)
say_stop("hi, johnny!", 1);
wait(250);
say_stop("`3mmmm.....", ¤t_sprite);
wait(250);
say_stop("are you reading newspaper?", 1);
wait(250);
say_stop("`3It's about the army...", ¤t_sprite);
wait(250);
say_stop("AGAIN?!? THEY ALWAYS TALK ABOUT THE ARMY!!", 1);
wait(250);
say_stop("`3HEY,Calm down!!", ¤t_sprite);
wait(250);
say_stop("grmmmbl... no real news nowadays... grrrrmbl...", 1);
wait(250);
say_stop("`3OH LOOK! The army will be here today 12 o' clock at the mushroom farm!", ¤t_sprite);
wait(250);
say_stop("Thats now!", 1);
wait(250);
say_stop("`3Lets go then!", ¤t_sprite);
wait(250);
&story = 2;
unfreeze(1)
unfreeze(¤t_sprite)
} and here he can walk around too...
and when i attach theese to the mother and johnny they can talk but the knights in the screen with this script can still be seen even if i havent talked to the mother and johnny...
void main(void)
{
if (&story <= 2)
{
&vision = 1;
}
}

as you shall not see the knights untill the story is 2 and as i can see them anytime even
when the story still is 0,
i wonder, WHAT IS WRONG!?