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: Using Actor.TalkAnimName  (Read 2497 times)

0 Members and 1 Guest are viewing this topic.

greg

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • View Profile
Using Actor.TalkAnimName
« on: March 31, 2008, 01:52:16 AM »

I'm trying to (temporarily) change the talk animation for a character, but, whatever value I set TalkAnimName to, the character still speaks with the previous talk animation.

For example;

Code: [Select]
Game.Msg(Ego.TalkAnimName); // This prints "talk" which corresponds with the TALK animation set in ego.actor
Ego.Talk("Hello.");         // Ego should (and does) say this with the TALK animation set
Ego.TalkAnimName = "talk2"; // TALK2 is another animation set in ego.actor
Ego.Talk("Hello, again.");  // Ego says this with the TALK animation set.  Shouldn't it be with the TALK2 animation set?

Am I setting the value incorrectly?

Thanks!
Greg
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Using Actor.TalkAnimName
« Reply #1 on: April 03, 2008, 11:11:41 AM »

As far as I can tell, it should work. If you say it doesn't, I'll have to test 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.032 seconds with 20 queries.