The Dink Network

Reply to Re: Talking

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 9th 2005, 02:04 AM
pq_skull.gif
dinkme
Peasant He/Him India
 
Plenty of errors:
This should be like this

void talk(void)
{
//don't close the bracket here
//close it when all the things
//in the talk function are done
if (&story == 2)
{
freeze(1)

freeze(&current_sprite)
//here the same mistake
//close it after what will happen when story is
//2 is done
choice_start();
"Hello"
"you have a big nose"
(&story == 2) "how do i join the army?"
"Leave"
choice_end();

if (&result == 1)
{
say_stop("Hello, cap'n, did any klling nowadays?", 1);
wait(250);
say_stop("`4SHUT UP! Were trying to save our country, as you cowards wont!", &current_sprite);
wait(250);
say_stop("hey, watch out, you might rust!", 1);
wait(250);
say_stop("`4 do you think my armor is my life!?", &current_sprite);
wait(250);
say_stop("actually, yes.... he he...", 1);
wait(250);
}

if (&result ==2)
{
say_stop("You have a veeery large nose!", 1);
wait(200);
say_stop("`4 do you know how sharp my axe is???", &current_sprite);
}

if (&result == 3)
{
if (&story == 3)
//why did you close the bracket here?
{
say_stop("Hey im off for an adventure, how to join the army?", 1);
wait(250);
say_stop("`4well, our camp is down the river over a bridge, get there and you can join.", &current_sprite);
wait(250);
say_stop("well, is it much wine song and womens?", 1);
wait(250);
say_stop("`4*suddenly quiet*", &current_sprite);
wait(250);
say_stop("`4eerrr... well... n- yes of course!", &current_sprite);
wait(250);
say_stop("Well, then im in!!", 1);
&story = 3;wait(250);
say_stop("`4by the way, If you shall join our army, you should get a sword.", &current_sprite)
wait(250);
say_stop("`4i think i heard that there were money in the monasterys catacombs, maybe you should check it...", &current_sprite);
&story = 3;
}
}
unfreeze(1)
unfreeze(&current_sprite)
}

Time to make a Dmod romp- Depends upon your laziness