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.
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!
Blegh! Turns out I missed a few semicolons and a parenthesis in the above scripting. CRISIS AVERTED!