Jump to content

Recommended Posts

Posted

I am having a problem with the script, but nothing seems wrong.

Code:
 message_dialog("_You dare insult me! Minions, attack!_",""); 
The game says "t3thirdfloor error: Unknown coomand _you in line 39."
Posted

POSSIBLE SPOILER

-

-

-

-

-

-

Code:
 beginstate 12; reset_dialog(); add_dialog_str(0,"_Here is a riddle. What has four legs and talks riddles?_",0); add_dialog_choice(0,"YOU!"); add_dialog_choice(1,"I don't know.); choice = run_dialog(0); if (choice == 1) set_state_continue(13); if (choice == 2) set_state_continue(14); break; beginstate 13; message_dialog("_You dare insult me! Minions, attack!_",""); break; beginstate 14; message_dialog("_Really? I don't know either. Oh well, just leave through the secret door behind me.",""); break;  
Posted

You are missing a quotation mark:

 

add_dialog_choice(1,"I don't know.");

 

BoA treats everything up to the next quotation mark (which is in the line you posted initally) as one string, and the next symbol is the "_", which it doesn't like.

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...