Easygoing Eyebeast Xaiya Posted January 10, 2008 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
Hatchling Cockatrice Quiconque Posted January 10, 2008 Posted January 10, 2008 You're missing a quote. Quote
Easygoing Eyebeast Xaiya Posted January 11, 2008 Author 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
Magnificent Ornk Kelandon Posted January 11, 2008 Posted January 11, 2008 Set that in the Outdoors menu using "Set Starting Location." Quote
Easygoing Eyebeast Enraged Slith Posted January 11, 2008 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
Understated Ur-Drakon Celtic Minstrel Posted January 11, 2008 Posted January 11, 2008 Actually, change_outdoor_location needs four parameters: change_outdoor_location(section_x,section_y,loc_x,loc_y) Quote
Easygoing Eyebeast Xaiya Posted January 11, 2008 Author Posted January 11, 2008 What Kelandon said worked, I never knew about the set location for outdoors. Quote
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.