PickIdle and Speech

Post » Tue May 10, 2011 5:26 am

I'm trying to create speech for one NPC. I would like to play also specific animation when the speech is playing.
I was able to start speech with TestNPCRef.startconversation TestNPCRef TestLine1. Animation also played with help of the Idle Animations. My problem is that every time when speech jump from one topic to another my animation start playing from the beginning. Is there any way to deny the game from picking idle when topics are changed or is there better way to make speech?
User avatar
Kim Kay
 
Posts: 3427
Joined: Fri Oct 13, 2006 10:45 am

Post » Tue May 10, 2011 3:20 am

I'm trying to create speech for one NPC. I would like to play also specific animation when the speech is playing.
I was able to start speech with TestNPCRef.startconversation TestNPCRef TestLine1. Animation also played with help of the Idle Animations. My problem is that every time when speech jump from one topic to another my animation start playing from the beginning. Is there any way to deny the game from picking idle when topics are changed or is there better way to make speech?

Ehh, I didn't really get it... If I DID, then are you saying that your scenario goes something like this: Your NPC starts to speak and does the animation. When it starts the next dialogue, the animation starts from the beginning? If so, post your script here. If not, then... Ehh, I have no idea :D
User avatar
Sam Parker
 
Posts: 3358
Joined: Sat May 12, 2007 3:10 am

Post » Mon May 09, 2011 7:43 pm

You understood it right even I wasn't clear enough.
I'm not very good at scripting and that is why I didn't make a real script for speech. The only commands I used are setstage and startconversation in my script. I just linked all topics together and made my NPC to talk himself.
But I found some kind of solution. I set my animation as idle via ToggleSpecialAnim command and now animation doesn't start from the beginning before the animation itself end.
User avatar
Mackenzie
 
Posts: 3404
Joined: Tue Jan 23, 2007 9:18 pm


Return to IV - Oblivion