Help making idle animation persistant

Post » Thu May 03, 2012 7:47 pm

I am having trouble setting up an NPC to literally only do one animation (use a custom item with a custom animation). I have followed the tutorial at the CS wiki and even set it up with the pickidle running all the time in a script.
scn AnimationActorScriptbegin gamemodepickidleend
However, the NPC stands normally until I talk to her, THEN she goes into the animation. I know that the animation is playing because I added the model as an animation prop and it shows up all the time, but she only goes into he animation pose once I talk to her.

The animation is set under the conditions that she has a specific object (an animation token, as in the tutorial)
Like I said, this is the only animation I ever want her to play. I took a look at the skooma addicts for inspiration but I didn't find anything I could apply.
Thanks
User avatar
Rob Smith
 
Posts: 3424
Joined: Wed Oct 03, 2007 5:30 pm

Post » Thu May 03, 2012 10:54 am

That script may be the problem. Since it's not checking to see if the animation is already playing it re-starts it every time the script runs, and the result is it's probably stuck at the first frame. When you interrupt that by talking to the NPC, the animation gets to complete. Just remove the script and see what happens. The game will do a Pickidle whenever there's no higher-priority animation needed.
User avatar
TASTY TRACY
 
Posts: 3282
Joined: Thu Jun 22, 2006 7:11 pm

Post » Thu May 03, 2012 5:58 pm

Thanks, worked like a charm
User avatar
Rhiannon Jones
 
Posts: 3423
Joined: Thu Sep 21, 2006 3:18 pm


Return to IV - Oblivion