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: 3d characters / walking / menu  (Read 3765 times)

0 Members and 2 Guests are viewing this topic.

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
3d characters / walking / menu
« on: January 11, 2008, 04:47:47 PM »

i have put a second 3d actor into a scene.
now if the mouse hovers this character the caption is displayed and it is interactive.
but if i left click on it my main character doesnt walk to the second actor
and if i right click on it my look/take/talk menu isnt showing at all

what have i missed ?
arent 3d characters accessed over the game and game deamon scripts.

do i have to create a region for a 3d-char ?

greets
stucki
« Last Edit: January 11, 2008, 05:00:25 PM by Stucki »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 3d characters / walking / menu
« Reply #1 on: January 11, 2008, 05:35:24 PM »

It depends on how does your menu code work. If it's based on the menu from WME demo, the menu is only displayed if the clicked object supports one of the LookAt/Take/Talk event handlers.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: 3d characters / walking / menu
« Reply #2 on: January 11, 2008, 05:46:08 PM »

thanks...as always !!!
got the menu running.

and after changing the actor.GoToObject (this); into actor.WalkTo(this.X,this.Y); the walking is working, too !!
now i can go to my first real big talk dialog thing ....

best regards
stucki


Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 3d characters / walking / menu
« Reply #3 on: January 11, 2008, 06:03:21 PM »

Yes, GoToObject() only works with entities. I believe it even displays a script runtime error if you pass something else to it.
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.027 seconds with 19 queries.