Buffer exceded in dialog script

Started by Creator, Sat 06/06/2009 13:19:57

Previous topic - Next topic

Creator

When I try to build/debug my game I get this error:

Dialog 1(55): Error (line 55): buffer exceeded: you probably have a missing closing bracket on a previous line

I tried to find out where I went wrong, but I can't see anything I may have done.
I've marked where line 55 is in the code below.


Code: ags

 if (GetGlobalInt(0) == 0) {
   cStk.Say("If you need me I'll be in the library.");
   player.Say("OK.";
   cStk.Walk(5, 164, eNoBlock);
   Wait(120);
   player.FaceCharacter(cStk, eBlock);
   cStk.Walk(5, 164, eBlock);
   cStk.Transparency = 100;
   cStk.FaceLocation(cStk.x, cStk.y-1, eBlock);
   cStk.ChangeRoom(3, 293, 104);
   cStk.Transparency = 0;
   SetGlobalInt(0, 1);
   dExplainations.Start();
 }
 else {
   player.Say("Bye.");
   cStk.Say("See ya."); //Line 55
 }


What have I done?  :-\

EDIT: Never mind. Fixed it. Notice that under the If it says: player.Say("OK.";
Sorry for wasting a topic.  :-[

thezombiecow

Code: ags
player.Say("OK.";


should be

Code: ags
player.Say("OK.");


;)

EDIT: Oop, sorry, didn't see your edit.

SMF spam blocked by CleanTalk