Reply to Script Problem and some questions.
If you don't have an account, just leave the password field blank.
In my Milder D-Mod, I have a scene where Quackers gives Milder some magic for some money. But the script won't work. I think there's some problem with the local variable. I made a local variable called &gimme. But Milder doesn't get the magic, nor does Quackers do anyting after the void main script.
void main( void)
{
int &gimme;
&gimme = 0;
if(&story == 1)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Hey, Quackers!", 1);
wait(2500);
move_stop( ¤t_sprite, 4, 166, 1);
say_stop("`3 What is the meaning of this?", ¤t_sprite);
say_stop(" Terribly sorry to disturb you sir, but I need help.", 1);
say_stop(" I need some magic to slay a Bonca", 1);
say_stop("`3 Use you fists. You have such fat hands", ¤t_sprite);
wait(2000);
say_stop("`3 I will give it to you, in return for 20 gold pieces.", ¤t_sprite);
&gold -= 20;
say("Hey! You didn't give me any magic!", 1);
&gimme = 1;
unfreeze(1);
unfreeze(¤t_sprite);
}
}
void talk( void);
{
if( &gimme == 1)
{
say_stop("`3 All right. Here you go", ¤t_sprite);
add_magic("item-fb", 437, 1);
&gimme = 2
}
if(&gimme == 2)
{
say("`3 Get lost!", ¤t_sprite);
}
}
]





