The Dink Network

Reply to Re: Scripting Help

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:
 
 
June 9th 2007, 08:31 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
Ok now i have another problem.I made this script:
void talk(void)
{
freeze(1);
choice_start();
"Chat"
(&bbuilder == 3)"Ask about bridge"
"Nevermind"
choice_end();
if (&result == 1)
{
say_stop("`6Oh man*hic*...", &current_sprite);
say_stop("Hey are you ok?", 1);
say_stop("`6No but i have to tell you *hic* something in your ear", &current_sprite);
say_stop("Yes what is it?", 1);
wait(750);
say_stop("`6This.*hic*", &current_sprite);
playsound(54, 22052, 0, 0, 0);
wait(2500);
say_stop("HEY!", 1);
say_stop("`6Hahaha!*hic* OWNED!", &current_sprite);
unfreeze(1);
}
if (&result == 2)
{
if (&bbuilder == 3)
{
say_stop("Hey do you know how to fix the bridge?", 1);
say_stop("`6No.", &current_sprite);
say_stop("Too bad i must go to the Temple of the Ancients.", 1);
say_stop("`6Wait!I know how to get pass the bridge!", &current_sprite);
say_stop("You know?!Then tell me!", 1);
say_stop("`6Just go left from the bridge into the end*hic*.In the nearest bush there is a secret stairs and take this*hic*.", &current_sprite);
say_stop("Thanks!", 1);
add_magic("item-sfb", 437, 2);
say_stop("Hellfire?But i'm not powerful to do this!", 1);
say_stop("`6Hey *hic* i don't have any weak magics for you *hic* you have to use this now *hic*", &current_sprite);
wait(500);
say_stop("`6Anyway *hic* there are some strange glowing monsters.", &current_sprite);
say_stop("`6Er...", &current_sprite);
playsound(55, 22052, 0, 0, 0);
wait(250);
int &barf = create_sprite(361, 136, 7, 941, 1);
sp_seq(&barf, 941);
unfreeze(1);
say("`6*barf*", &current_sprite);
}
&bbuilder = 4;
}
if (&result == 3)
{
unfreeze(1);
}
}
And when i talk to him about bridge and when Dink say's "You know!Then tell me!" the computer crashed!