Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Scene creation step by step error.  (Read 4865 times)

0 Members and 1 Guest are viewing this topic.

squeakydave

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
    • Squeakypics
Scene creation step by step error.
« 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
« Last Edit: October 19, 2007, 02:04:07 PM by squeakydave »
Logged
Huge Regards
Dave
www.squeakypics.co.uk

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Scene creation step by step error.
« Reply #1 on: October 19, 2007, 02:27:03 PM »

hmm, maybe the GoToObject(); function is no longer present in template? It was there before.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Scene creation step by step error.
« Reply #2 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.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.021 seconds with 20 queries.