lb10111 Posted September 11, 2011 Share Posted September 11, 2011 How can I make an idle animation play once on an NPC before setting them back to their normal idle animation? So far this is what I've come up with: - Add the idle animation in the construction set with the condition that the target is an actor and has a specific item in their inventory- Add a script to that item with an OnAdd block that removes the item from the NPCs inventory- In game... Reverse pick-pocket item into NPCs inventory This has the effect of playing the new idle animation repeatedly and indefinitely, or until I use the PickIdle console command on the NPC. Obviously I'm going about this the wrong way... So what is the right way to make the animation play once and only once? Is it possible to detect via script when the animation is finished? Link to comment Share on other sites More sharing options...
fore Posted September 11, 2011 Share Posted September 11, 2011 You have to change the idle animation from a loop to a one-time animation. Opern the kf file with NifSkope, and go to "0 NiControllerSequence" -> "Cycle Type" from Cycle_loop to Cycle_clamp. :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts