Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: More flexibility in actor.Talk() method  (Read 9582 times)

0 Members and 1 Guest are viewing this topic.

Dionysius

  • Frequent poster
  • ****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 361
    • View Profile
    • On the Tracks of Dinosaurs
More flexibility in actor.Talk() method
« on: June 06, 2008, 04:25:29 AM »

It would be cool if I could change behavior of speech text. I need to display it not over actor's head. And now I should to overload Talk() method.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: More flexibility in actor.Talk() method
« Reply #1 on: June 06, 2008, 07:02:36 AM »

Now the question is what's more flexible. A generic Talk method with dozens of parameters most people will never use, or the ability to override the talk method and add and handle any parameters you need? Besides, if you want to permanently change subtitle position for a character, you don't need to override anything, and just set the SubtitlesPos* properties (see the docs).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Dionysius

  • Frequent poster
  • ****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 361
    • View Profile
    • On the Tracks of Dinosaurs
Re: More flexibility in actor.Talk() method
« Reply #2 on: June 06, 2008, 07:38:45 AM »

Wow!  :D Thank you very much! This is all I need
Logged
 

Page created in 0.024 seconds with 19 queries.