The Dink Network

Reply to Script Freezes

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 11th 2004, 09:52 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
My script keeps freezing right after Dink makes the choice(his only choice before story is 4)to tell his king he hasn't found Cyrus.

void talk(void)
{
freeze(1);
freeze(&current_sprite)

choice_start()
"Tell him you haven't found Cyrus yet"
(&story == 4) "Give him the potion"
choice_end()

if(&result = 1)
{
say_stop("I can't find Cyrus,your majesty.",1);
say_stop("`3Well,keep trying Smallwood.",&current_sprite);
unfreeze(1);
unfreeze(&current_sprite);
}

if(&result = 2)
{
say_stop("I found Cyrus your majesty,he gave me this potion.",1);
say_stop("`3Well,hand it over Smallwood.",&current_sprite);
drop_item("item-potion",460, 17);
external("morph","make")
say_stop("Well,Dink Smallwood saves the day...again.",1);
say_stop("`3Nicely done,I knew I could count on you.",&current_sprite);
unfreeze(1);
unfreeze(&current_sprite);
}

return;
}