Jump to content

State not ended properley on line 1, yet...


Recommended Posts

...the problem didnt come until I added this part to the END of the dialoulge!

Code:
begintalknode 31;//All resaeehecersstate = 17;nextstate = -1;question = "Teddy";text1 = "This scientist looks at you._Go away!_";text2 = "This scientist looks at you._Leave!_";text3 = "This scientist looks at you._Just Be Gone!_";text4 = "This scientist looks at you._They dont live here their next DOOR!_";text5 = "This scientist looks at you._Go away, or suffer!_";text6 = "This scientist looks at you._GO AWAY!_";code =	clear_strings();	if (get_ran(1,1,6) == 1) {		add_string(1);		} else if (get_ran(1,1,6) == 2) {			add_string(2);			} else if (get_ran(1,1,6) == 3) {				add_string(3);				} else if (get_ran(1,1,6) == 4) {					add_string(4);					} else if (get_ran(1,1,6) == 5) {						add_string(5);						} else if (get_ran(1,1,6) == 6) {							add_string(6);							} else {								print_str_color("The game screwed up and",2);								print_str_color("returned a wrong number.",2);								}break;action = END_TALK;  
Line 1 was not incorrectly ended until I put in this code. I need help. frown
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...