i've obviously missed something here
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
el_timo

void oldman()
{

if (!flags[FLAG_OLDMAN])
{
TextBox3("Old Man:","How are you Darin?","","");
TextBox2("Darin:","Ok I guess. How are you?","","");
TextBox3("Old Man:","Well, I've been feling better. Lately its been too cold for me. its not easy","being as old as I ...","");
TextBox2("Darin:","... I hate to interrupt but I have to go now","","");
TextBox3("Old Man:","Fine. I'll see you around. Could you give this to","my son, Surgie down the road to the west","");
TextBox("Letter recieved");
flags[FLAG_OLDMAN] = 3;
}
if (flags[FLAG_OLDMAN] ==1)
{
TextBox3("Old Man:","Hello young Darin, Whats wrong?","","");
TextBox2("Darin:","Oh nothing really. I need to get through the tunnel to","get to my sister but the guard won't let me","");
TextBox3("Old Man:","I have an access band and I'm old so i don't use it that often","","");
TextBox2("Darin:","Oh could i borrow it please","","");
TextBox3("Old Man:","It's not that simple, if i change the name it stays that ","way for 20 years","");
TextBox2("Darin:","Can i buy it?","","");
TextBox3("Old Man:","I don't sell to children but i guess you can do me some ","chores","");
TextBox2("Darin:","Sure. What do you need doing?","","");
TextBox3("Old Man:","I need a red and a blue rose,","2 eggs and some wood","");
}

if (flags[FLAG_OLDMAN] ==2)
{

TextBox2("Darin:","I'm done","","");
TextBox3("Old Man:","Thank you so, not so often an old man can go.","to cut the trees and feel the breeze.","Here you go. Here's the band");

TextBox("Band recieved");
flags[FLAG_OLDMAN] = 3;
}
if (flags[FLAG_OLDMAN] ==3)
{
TextBox3("Old Man:","Remember to tell my son to visit me","","");
}
if (flags[FLAG_OLDMAN] ==4
{
TextBox2("Darin:","Here are the things from your son","","");
TextBox3("Old Man:","Thank you, I had kind of hoped he would have","brought them himself. Could you tell him to visit me.","");
TextBox2("Darin:","Sure","","");
flags[FLAG_OLDMAN] ==3;
}

}

VERGE is giving the error that there is no matching bracket but all the brackets are matched. It's probably me thats wrong but i haven't got a clue whats wrong with that.

Posted on 2007-02-20 15:43:35

Overkill

Actually, it's not lying, you are missing a parenthesis.
if (flags[FLAG_OLDMAN] ==4
Also, it's gonna complain when it actually gets to this line in the compilation, because == is not an assignment operator (only use one = when you're setting something):
flags[FLAG_OLDMAN] ==3;

Posted on 2007-02-20 16:11:08

el_timo

thanks, cant believe i missed that now

Posted on 2007-02-20 17:26:27


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.