Author Topic: Working script now broken? Buffer Exceeded  (Read 92 times)

Working script now broken? Buffer Exceeded
« on: 03 Feb 2018, 14:44 »
Howdy all!

I had a working script in my function room_FirstLoad() and then all of a sudden it's decided not to work! And I can't for the life of me figure out why. It's for a traffic light to animate between red and green light.

Code: Adventure Game Studio
  1. function room_FirstLoad()
  2. {
  3. oTrafficLight.SetView(7);
  4. oTrafficLight.Animate(1, 0, eRepeat, eNoBlock);
  5. player.Walk(12, 145, eBlock, eAnywhere);
  6. player.FaceDirection(eDirectionRight, eBlock);
  7. player.Say("Okay. I need to get today's newspaper, some milk and some chocolates for Maggie.");
  8. }
  9.  

Any help would be greatly appreciated.

EDIT: Blegh! Turns out I missed a few semicolons and a parenthesis in the above scripting. CRISIS AVERTED!
« Last Edit: 03 Feb 2018, 14:47 by moxiemason »

Re: Working script now broken? Buffer Exceeded
« Reply #1 on: 03 Feb 2018, 14:47 »
Blegh! Turns out I missed a few semicolons and a parenthesis in the above scripting. CRISIS AVERTED!