Working script now broken? Buffer Exceeded

Started by moxiemason, Sat 03/02/2018 14:44:49

Previous topic - Next topic

moxiemason

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: ags
function room_FirstLoad()
{
oTrafficLight.SetView(7);
oTrafficLight.Animate(1, 0, eRepeat, eNoBlock);
player.Walk(12, 145, eBlock, eAnywhere);
player.FaceDirection(eDirectionRight, eBlock);
player.Say("Okay. I need to get today's newspaper, some milk and some chocolates for Maggie.");
}


Any help would be greatly appreciated.

EDIT: Blegh! Turns out I missed a few semicolons and a parenthesis in the above scripting. CRISIS AVERTED!

moxiemason

Blegh! Turns out I missed a few semicolons and a parenthesis in the above scripting. CRISIS AVERTED!

SMF spam blocked by CleanTalk