Wintermute Engine > Fixed

Scene creation step by step error.

(1/1)

squeakydave:
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

metamorphium:
hmm, maybe the GoToObject(); function is no longer present in template? It was there before.

Mnemonic:
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.

Navigation

[0] Message Index

Go to full version