Jump to content

Outdoor script error


Xaiya

Recommended Posts

For some weird reason, a state in the script won't work.

The sdfs are still at 0 when you get to that spot.

Code:
beginoutdoorscript;variables;body;beginstate INIT_STATE; break; beginstate START_STATE; break;beginstate 10; if ((get_flag(20,10) > 0) && (get_flag(20,11) > 0)) {message_dialog("As you walk, two watch towers see you and light fires.","This can't be good."); set_flag(20,10,2); set_flag(20,11,2); } break; 
Link to comment
Share on other sites

Code:
beginoutdoorscript; variables;body;beginstate INIT_STATE; break; beginstate START_STATE; break;beginstate 10; if ((get_flag(20,10) == 0) && (get_flag(20,11) == 0)) {message_dialog("As you walk, two watch towers see you and light fires.","This can't be good."); set_flag(20,10,2); set_flag(20,11,2); } break; 

It still doesn't work.
Link to comment
Share on other sites

I think I see the problem.

The state isn't even activating.

 

However, the state exists, the script exists, and I have, in the outdoor details, what the script is.

 

This can't be right.

 

Edit - I'm so stupid. Apparently the game only loads the outdoor script at the beginning of the scenario or when you first enter that section. Entering a town and exiting did not cause it to reload.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...