The Dink Network

Reply to Re: As always... Problems

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:
 
 
April 4th 2006, 01:13 AM
anon.gif
kjmarket
Ghost They/Them
 
The reason it's saying everything, is because you have semicolons at the end of your if-statements. That causes it to not read that line due to an error. So it's like the if statements dont even exist...hence the fact that all say lines are said every time. So get rid of the semicolons at the end of the if statements.

Also...the line:

say_stop("&speech1);

is wrong. You also need semicolons at the end of your wait and freeze/unfreeze lines.

void talk( void )
{
freeze(1);
freeze(¤t_sprite);

choice_start();
set_title_color 7
title_start();
It's good to see you again, as always.
title_end();
"Tell him to hurry"
"Be nice and polite to him"
"Leave your useless servant"
choice_end();
if (&result == 1)
{
say_stop("&speech", 1);
say_stop("&speech", 1);
say_stop("&speech", 1);
wait(200);
say_stop("`3&speech", &current_sprite);
wait(200);
say_stop("&speech", 1);
wait(200);
say_stop("`3&speech", ¤t_sprite);
wait(200);
say_stop("&speech", 1);
wait(200);
say_stop"`3&speech", ¤t_sprite);
unfreeze(1);
unfreeze(¤t_sprite);
}
if (&result == 2)
{
say_stop("&speech", 1);
wait(200);
say_stop("`3&speech", ¤t_sprite);
wait(200);
say_stop("&speech", 1);
wait(200);
say_stop("`3&speech", ¤t_sprite);
wait(200);
say_stop("&speech", 1);
unfreeze(1);
unfreeze(&current_sprite);
}

void hit( void )
{
say("&speech", 1);
}