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;
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