Progmath Posted October 23, 2015 Posted October 23, 2015 After ending the new idle an npc is starting to move legs endlessly in all the common standing idles. (for some reason i can't post links, nor attach a vid to my message) Youtube: sCmxVQqlijk I'm getting npc play idle (kf file from Human Chairs).additem tokenplayidle 1.Everything is going right. Actor is playing anim.removeitem tokenplayidle 1Actor stops the new animation but if it is standing, it's legs continue to slowly move! An effect persists after the target sits, walks, after cell reloads. As soon as the npc is standing idle, it's legs are moving. I've tried to write pickidle 1 several times. Tried to use playgroup idle 1. Nothing changed.I've tried to use reset3dstate - it helps, but only for one current idle. For example, if the target is readlig book and moving it's feet, then after the command it will stand like the good npc should. But after idle is renewed, the actor is doing it's dance again! Is that kf file really bad and unusable?Is there a way to make my little puppets behave?
Supierce Posted October 23, 2015 Posted October 23, 2015 After ending the new idle an npc is starting to move legs endlessly in all the common standing idles. (for some reason i can't post links, nor attach a vid to my message) Youtube: sCmxVQqlijk I'm getting npc play idle (kf file from Human Chairs). additem token playidle 1. Everything is going right. Actor is playing anim. removeitem token playidle 1 Actor stops the new animation but if it is standing, it's legs continue to slowly move! An effect persists after the target sits, walks, after cell reloads. As soon as the npc is standing idle, it's legs are moving. I've tried to write pickidle 1 several times. Tried to use playgroup idle 1. Nothing changed. I've tried to use reset3dstate - it helps, but only for one current idle. For example, if the target is readlig book and moving it's feet, then after the command it will stand like the good npc should. But after idle is renewed, the actor is doing it's dance again! Is that kf file really bad and unusable? Is there a way to make my little puppets behave? This should work: if getitemcount (your idle token) > 0 removeitemns (your idle token) 1 if (IsThirdPerson == 0) ToggleFirstPerson 0 endif pickidle update3d ToggleFirstPerson 1 endif You may or may not need the Update3d command, depending on the idle. Likewise with theToggleFirstPerson command, depending on whether you play in 1st-person POV.
Symon Posted October 23, 2015 Posted October 23, 2015 If you are writing your own script to invoke an idle and then remove it, DON'T use tokens and pickidle. Pickidle is easily broken by other animation mods. Use PlayIdle instead. It was introduced in OBSE20 and is superior in almost every way.
Progmath Posted October 25, 2015 Author Posted October 25, 2015 update3d Thanks a lot, that line solved the problem! PlayIdle Thank you too. Nice fucntion to force stubborn doll to play anim immediately. I've finished the mod - Chairing Touch on nexus. With it you will be able to turn NPC into a sittable furniture with one spell. Unfortunately i'm still not allowed to post links (a weird rule if you ask me).
Symon Posted October 25, 2015 Posted October 25, 2015 Glad I was able to help. IIRC, 10 posts and you'll be able to posts links and attachments. It's to help prevent spambots.
myuhinny Posted October 27, 2015 Posted October 27, 2015 @Progmath It is set up as a spam prevention tactic after 2 posts you can post pictures and links.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.