Well-Actually War Trall Archmagus Micael Posted September 7, 2004 Share Posted September 7, 2004 Guys, could you please help, (again) with another error I've got. It's really annoying, but it's stopping the scenario, about halfwya this time, but still annoying. What do you think's wrong? Code: begintownscript;variables;//int i,j,k,choice;body;beginstate 0;break;beginstate 1;break;beginstate 2;break;beginstate 57;reset_dialog();add_dialog_str(0,"You are standing in front of the Vahnatai's controls - the one thing which can be used to stop their invasion. Do you smash them?",0);add_dialog_choice(0,"Leave it Alone (carry on playing for longer)"); add_dialog_choice(1,"Smash the Controls (Destroy the Vahnatai's plans and win)");choice = run_dialog(1);if (choice == 1)end();if (choice == 2)set_state_continue(58);break;beginstate 58;message_dialog("You smash the controls to the power, and the hum stops immediatly. You've stopped the Vahnatai!!! You soon reach the Magical Town and teleport yourselves home, where you are congratulated for foiling the Vahnatai. THE END","");end_scenario(1);break;beginstate 56;if (get_flag(6,7) < 1){ message_dialog("You enter the final Tower of the Vahnatai, only to find it a Pit. Two ranks of Spirits guard it, as well as several Zombie Dragons. It looks like the fighting's going to get even tougher!",""); set_flag(6,7,1);}break;beginstate 67;if (get_flag(25,5) < 1){ message_dialog("You come face to face with Rentar Ihnro - again. This time she's really here, and she doesn't look happy.",""); set_flag(25,5,1);}break;beginstate = 65;if (get_flag(30,0) == 1){ message_dialog("You blink. Just as you had dealt Rentar-Inro a killing blow, she disappeared. No trace of her body remains. You are sure that using powerful Vahnatai magic, she will soon be able to bother you again. For now at least, she's gone",""); set_flag(30,0,0);}break;beginstate 13;change_outdoor_location(1,2,26,2);break;beginstate 77;if (get_flag(67,1) < 1){change_outdoor_location(1,2,26,2);message_dialog("You step towards the exit, and at once begin to feel queasy. Something's wrong...","");} break; Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Lilith Posted September 7, 2004 Share Posted September 7, 2004 Quote: beginstate = 65; Compare that to the other lines. Whoops. Link to comment Share on other sites More sharing options...
Well-Actually War Trall Archmagus Micael Posted September 7, 2004 Author Share Posted September 7, 2004 Quote: Originally written by Thuryl: Quote: beginstate = 65; Compare that to the other lines. Whoops. Whoops indeed... THAMKS!!!!!! Link to comment Share on other sites More sharing options...
Magnificent Ornk Donald Hebb Posted September 7, 2004 Share Posted September 7, 2004 THAMKS!!! Link to comment Share on other sites More sharing options...
Recommended Posts