The Dink Network

Reply to Re: Papyrus Adventures (The): Development Thread [NEW]!

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:
 
 
March 5th 2010, 12:45 PM
knightgl.gif
castman
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 

I found some other errors so I've remade the script for ya

----------------------

void main(void)
{

int &malakies;
&malakies = 0;

}

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

if (&magican1 == 0)
{
say_stop("Wow, are you a magican?", 1);
wait(200);
say_stop("`0What a bad way to start your day, what do you want?", &current_sprite);
wait(200);
say_stop("Can you teach me magic?", 1);
wait(200);
say_stop("`0Only if you have 3 magic, i could teach you fireball", &current_sprite);
wait(200);

if (&magic >= 3)
{
say_stop("Hehehehe, i already have!", 1);
wait(200);
say_stop("`0dang, here you go!", &current_sprite);
add_magic("mag-fbl",437, 1);
}

else
{
say_stop("dang, be right back!", 1);
&malakies += 1;
}

&magican1 += 1;
goto end;
}

if(&magican1 == 1)
{
say_stop("`0What do you want again?", &current_sprite);

if(&malakies == 1)
{
say_stop("I dont think i need something at the moment...", 1);
}

if(&malakies == 0)
{

if (&magic >= 3)
{
say_stop("I have the magic that fireball requires!", 1);
add_magic("mag-fbl",437, 1);
&magican1 += 1;
}

if (&magic <= 3)
{
say_stop("I dont have the magic that fireball requires!", 1);
}
}
goto end;
}

if(&magican1 == 2)
{
say_stop("`0Bla Bla Bla", &current_sprite);
}

end:
unfreeze(1);
unfreeze(&current_sprite);
}
-----------------------------------

If you have trouble due the changes just ask