Easygoing Eyebeast Xaiya Posted January 10, 2008 Share Posted January 10, 2008 I have no idea what is wrong. The game keeps giving me a Error- Unknown command the in line 13 I have tried many things, yet it wont work. Code: begintownscript;variables; short choice; body; beginstate INIT_STATE; set_crime_tolerance(2); break; beginstate START_STATE; break; beginstate EXIT_STATE; break; beginstate 10; message_dialog(The inn is completely empty. Not even a bartender. Not surprising.",""); break; beginstate 11; message_dialog("As you go towards the portal, you notice something behind you. An army of...you must be drunk. Muffins? Well, seeing as the portal is the only way, you throw yourselves in",""); move_to_new_town(2,17,13); break; Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Quiconque Posted January 10, 2008 Share Posted January 10, 2008 You're missing a quote. Quote Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Xaiya Posted January 11, 2008 Author Share Posted January 11, 2008 ...The simplest things are hard for the maker. And to combine with that, I am an oblivious type. Well, that worked. Thank you. And I have one more problem. When I exit into the outdoors for the first time, I am in a section I am not using. Quote Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted January 11, 2008 Share Posted January 11, 2008 Set that in the Outdoors menu using "Set Starting Location." Quote Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Enraged Slith Posted January 11, 2008 Share Posted January 11, 2008 You can also accomplish this from the exit state. I did this in a scenario that allowed the player to exit from for different locations in the starting town. I think it's change_outdoor_location(x,y) but you'll want to check. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Celtic Minstrel Posted January 11, 2008 Share Posted January 11, 2008 Actually, change_outdoor_location needs four parameters: change_outdoor_location(section_x,section_y,loc_x,loc_y) Quote Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Xaiya Posted January 11, 2008 Author Share Posted January 11, 2008 What Kelandon said worked, I never knew about the set location for outdoors. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.