Jump to content

Outdoor script


Lazarus.

Recommended Posts

For some reason my scenario won't run my outdoor encounters. If I trigger the state, the dialog thats supposed to show up doesn't show. I know its trying to call these states, and their in the right spot, because if i delete them from the outdoor script it shows an error message that i'm calling a non-existant state. They are very simple states, just a message, am I going insane?

Link to comment
Share on other sites

No variables? C'mon, you gotta love variables.

 

Anyway, using

Code:
 
tags can make scripts much sexier. For instance, your code goes from

 

beginoutdoorscript; body; beginstate 10; message_dialog("Why won't this work.",""); break;

 

to

Code:
beginoutdoorscript;body;beginstate 10;     message_dialog("Why won't this work.","");break;
Link to comment
Share on other sites

Is that really your entire outdoor script? Where's your INIT_STATE and START_STATE. Can't have an outdoor script without those fellers, no sir. Just add this after body;

Code:
 beginstate INIT_STATE;

break;

beginstate START_STATE;

break;

Maybe that helps...
Link to comment
Share on other sites

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