The Dink Network

Reply to Re: Help!This can't work!

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:
 
 
July 8th 2009, 06:17 AM
dragon.gif
Patrunjelu
Peasant He/Him Romania
Rawr! 
void talk(void)
{
freeze(1);
freeze(&current_sprite);
if (&story == 0)
{
say_stop("`2Hey.", &current_sprite);
wait(250);
say_stop("Wow!A talking well!", 1);
wait(250);
say_stop("`2What?Haven't you seen a well talked?", &current_sprite);
wait(250);
say_stop("Ummm...Yes.", 1);
wait(250);
say_stop("`2dang", &current_sprite);
wait(250);
say_stop("...", 1);
wait(250);
say_stop("`2There is a stone,hit it.", &current_sprite);
wait(250);
say_stop("Fine.", 1)
&story = 1;
}
if (&story == 1)
{
say_stop("`2Hit it!", &current_sprite);
}
if (&story == 2)
{
say_stop("`2Well done.", &current_sprite);
wait(250);
say_stop("<sigh>", 1);
&story = 3;
}
if (&story == 3)
{
say_stop("`2Hey.", &current_sprite);
wait(250);
say_stop("Hey.", 1);
}
unfreeze(1);
unfreeze(&current_sprite);
}
void hit(void)
{
say_stop("`2grrr!",&current_sprite);
}

Try it now.
The problem was since the beginning, the space between the procedure's name and it's parameter: wait(250) is correct, wait (250) isn't.
It should work now.