Wintermute Engine Forum

Wintermute Engine => Bug reports => Fixed => Topic started by: squeakydave on October 19, 2007, 02:00:47 PM

Title: Scene creation step by step error.
Post by: squeakydave on October 19, 2007, 02:00:47 PM
Hi
On the last page of the scene creation tutorial It has the script:

on "LeftClick"
{   GoToObject();
     Game.ChangeScene ("scenes/menu/menu.scene");
}


The GoToObject() only works if changed to:
actor.GoToObject(this);


Probably obvious to programmer types but trips up we newbies :)

Huge Regards
Dave
www.squeakypics.co.uk
Title: Re: Scene creation step by step error.
Post by: metamorphium on October 19, 2007, 02:27:03 PM
hmm, maybe the GoToObject(); function is no longer present in template? It was there before.
Title: Re: Scene creation step by step error.
Post by: Mnemonic on October 22, 2007, 08:46:05 PM
Ah, thanks, I missed that one. I was rewriting the relevant parts of the tutorial to accomodate the new way of setting the "walk to" points for entities, but I forgot to change this last remaining reference to the original way.