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: actor.GoTo(this) - problems ;(  (Read 2184 times)

0 Members and 1 Guest are viewing this topic.

BorisC

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 36
    • View Profile
actor.GoTo(this) - problems ;(
« on: August 18, 2006, 12:47:48 AM »

I have two 3d characters in my scene.
NPC one comes from upper left corner to middle right.
I can stop him by click at any place(for instance by "talk") and he and my actor look each other:

actor.TurnTo(this)
this.TrunTo(actor)

______________
They both see each other with no problem.
But when I want use item I have:
actor.GoTo(this)

_______________
actor comes to middle left corner stops there and gives an item(NPC stands at end of his way(middle right) or stop during way to middle left.
Where I've wrong ?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: actor.GoTo(this) - problems ;(
« Reply #1 on: August 18, 2006, 08:54:30 AM »

GoTo() doesn't work like this. There's GoToObject(), but it only works for entities.
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.033 seconds with 20 queries.