Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Scene.SkipTo Bug ?  (Read 3818 times)

0 Members and 1 Guest are viewing this topic.

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Scene.SkipTo Bug ?
« on: July 04, 2003, 05:55:57 PM »

Hi,

it's really funny I didn't realize that before, but is that a bug or not ?
I always thought it was my scripting, but now I could discover the same behaviour in the original wme demo files.

If you change the "scene_init.script" in the demo by deleting/commenting line 77
(actor.AttachScript("scenes\room\scr\tour.script");)
the scene should start with the actor in focus - doing nothing but waiting.

But: the Scene SCROLLS to Molly, although it should "SkipTo" the actor at the beginning of the scene.

What's wrong here ?  ???
Thanks for help!
Logged
Mooh!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Scene.SkipTo Bug ?
« Reply #1 on: July 05, 2003, 12:07:20 PM »

Yes, it was a bug. The actor wasn't fully initialized yet and the engine wasn't able to determine his height correctly. Therefore the Scene.SkipTo was off by a few pixels.
I just fixed that; thanks for pointing that out.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:Scene.SkipTo Bug ?
« Reply #2 on: July 06, 2003, 11:11:51 AM »

I just fixed that; thanks for pointing that out.

Great, thanks.  8)
Logged
Mooh!
 

Page created in 0.038 seconds with 23 queries.