The Dink Network

Reply to Re: yet another mystery script problem.

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 19th 2004, 04:01 AM
spike.gif
Weird. Oh well. Make the talk proc look like something like below. Are you sure you weren't talking about choice 3??

void talk (void)
{
freeze(1);
freeze(&current_sprite);
choice_start()
"be nice."
"be somewhat less nice."
"leave"
choice_end()

if (&result == 1)
{
say_stop("hi, your looking very old today", 1);
say_stop("`6why thank you.", &current_sprite);
say_stop("...", 1);
say_stop("`6hmmm...", &current_sprite);
say_stop("i'll go now.", 1);
unfreeze(1);
unfreeze(&current_sprite);
}

if (&result == 2)
{
say_stop("I HATE YOU!", 1);
say_stop("`6fair enough...", &current_sprite);
wait(700);
say_stop("hmmm.. i wasnt expecting that...", 1);
say_stop("i know!", 1);
wait(500);
hurt(&current_sprite, 500);
playsound(9, 8000,0,0,0);
say_stop("that'l teach him to talk back to me!", 1);
unfreeze(1);
}

if (&result == 3)
{
unfreeze(1);
unfreeze(&urrent_sprite);
}
}