I'm working on that last bit of the tutorial, trying to get the door to change the scene, but I'm coming up with an error. It's on the line with the Game.ChangeScene. This is what my code looks like.
#include "scripts\base.inc"
////////////////////////////////////////////////////////////////////////////////
on "LookAt"
{
actor.GoToObject(this);
actor.Talk("Blah");
}
////////////////////////////////////////////////////////////////////////////////
on "Take"
{
actor.GoToObject(this);
actor.Talk("Blah");
}
////////////////////////////////////////////////////////////////////////////////
on "Talk"
{
actor.GoToObject(this);
actor.Talk("Blah");
}
////////////////////////////////////////////////////////////////////////////////
on "LeftClick"
{
actor.GoToObject()
Game.ChangeScene("scenes\MyScene\MyScene.scene");
}
////////////////////////////////////////////////////////////////////////////////
//function GoToObject()
//{
// actor.GoTo(200, 200);
// actor.TurnTo(DI_UP);
//}
...a lil help, eh? :-P