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:
 
 
May 30th 2007, 10:25 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
Thanks but now i have a problem with the new question in choice_start i made this script:
void talk(void)
{
freeze(1);
freeze(&current_sprite);
choice_start();
"Ask about magic"
"Ask about village"
"Ask about Temple of the Ancients"
(&story == 3)"Tell about the blocking road"
"Nevermind"
choice_end()

if (&result == 1)
{
say_stop("Can you learn me some magic?", 1);
say_stop("`3Of course", &current_sprite);
wait(750);
say_stop("`3For 1 million gold.", &current_sprite);
say_stop("WHAT?!!I want it for 1000 gold", 1);
say_stop("`3Million gold or no magic", &current_sprite);
say_stop("NO WAY I'M OUTTA HERE!", 1);
unfreeze(1);
unfreeze(&current_sprite);
}
if (&result == 2)
{
say_stop("Tell me about something about the village", 1);
say_stop("`3Well you are in Midina village the villagers are peaceful.", &current_sprite);
say_stop("`3If not that idiot called Rand!", &current_sprite);
say_stop("`3He suspects me that i changed his axe into a stick.What an ass!", &current_sprite);
unfreeze(1);
unfreeze(&current_sprite);
}
if (&result == 3)
{
say_stop("Tell me about the Temple of the Ancients", 1);
say_stop("`3Temple of the Ancients?Hmmm i don't know about this temple.Sorry.", &current_sprite);
unfreeze(1);
unfreeze(&current_sprite);
}
if (&result == 4)
{
if (&story == 3)
{
say_stop("Hey can you help me?", 1);
say_stop("`3In what?", &current_sprite);
say_stop("The road is blocked is there another way to the temple?", 1);
say_stop("`3What?The road is blocked again!.Ok i'll help you.Hold on for a sec", &current_sprite);
say_stop("`3Ommmmmm.....Ommmmmmm......", &current_sprite);
playsound(24, 22052, 0, 0, 0);
wait(750);
say_stop("`3There you go go south from my house for a secret passage", &current_sprite);
say_stop("Erm....Gee...Thanks...", 1);
unfreeze(1);
unfreeze(&current_sprite);

&story = 4
}
}
if (&result == 5)
{
unfreeze(1);
unfreeze(&current_sprite);
}
and when it's story = 3 it won't show me.What shoud i do?