Curious Artila Drakon Master Posted April 16, 2004 Share Posted April 16, 2004 I can't get my Special Encounter Rectangles to work!! I'm trying to make a trapdoor leading down under my town and it doesn't seem to even read the state! What am I doing wrong! The Script (In Townscript) beginstate 10; block_entry(1); move_to_new_town(1,7,11); break; Help me please! Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted April 16, 2004 Share Posted April 16, 2004 The code looks good... did you go to "Town Details" in the Town menu and set the script file to be the text file that you want it to be? Link to comment Share on other sites More sharing options...
Curious Artila philstrek Posted April 16, 2004 Share Posted April 16, 2004 Did you set the special encounter node to 10 in the editor? Link to comment Share on other sites More sharing options...
Garrulous Glaahk spyderbytes Posted April 16, 2004 Share Posted April 16, 2004 They covered the obvious, but if you want to make SURE whether your state 10 is ever being called or not, you can always put something like: message_dialog("Yep, it's being called...", ""); as the first line of the state. If you don't see the dialog, it's not making it to your script. -spyderbytes Link to comment Share on other sites More sharing options...
Curious Artila Drakon Master Posted April 16, 2004 Author Share Posted April 16, 2004 yes and yes. but it keeps telling me when i test it that the state can't be found Link to comment Share on other sites More sharing options...
Curious Artila Drakon Master Posted April 16, 2004 Author Share Posted April 16, 2004 Ok thanks that helped! Now I know what the problem is. It was the state number. It was right but it didn't load properly till I "refreshed" it by deleting the the special encounter and starting it again. SO THANX Link to comment Share on other sites More sharing options...
Garrulous Glaahk spyderbytes Posted April 16, 2004 Share Posted April 16, 2004 Please don't be insulted that I'm asking this. I just think it has to be something quite basic. Do you have something like: Code: begintownscript;variables;body; at the top of your town script? You have to tell the interpreter what kind of script this is and where the body of the script begins. You might try posting the full script here to see if any of us can spot problems... -spyderbytes EDIT: You solved it while I was typing. Good. Link to comment Share on other sites More sharing options...
Recommended Posts