KiCHo666 Posted February 17, 2018 Share Posted February 17, 2018 I don't know what on Earth is causing this, but whenever some NPC, be it raider or Legion, gets crippled there's a good chance they'll do "pick something from the ground" animation.They are not actually picking anything from the ground. I understand NPCs sometimes try to pick up weapons from the ground, but this bug happens regardless wether they have gun in their hand or not.It's not mod related issue, because that happens in vanilla game and it drives me up the wall.Honestly can't believe no one complained about it.I made a video where I captured such behaviour.I tried looking through idle animations in Geck to see if some condition is responsible for it, but found no connection with it.If anyone knows something about it, please let me know. Thanks in advance! Link to comment Share on other sites More sharing options...
hexef Posted February 17, 2018 Share Posted February 17, 2018 It's their "healing" animation. I noticed that too, they're HP is increasing everytime right after the "pick up" animation is finished. It seems to happen when they are crippled mostly, but I also noticed it happening on non-crippled ones. I guess it's a feature that Obsidian tried to implement but they didn't have time to fully integrate it and what we're seeing is leftover code. It's possible that many more healing animations would have been played under certain conditions. I've also observed that non-crippled NPCs sometimes use the "inject" stimpak animation when they are hurt, however that animation is pretty uncommon and haven't seen it play too frequently in my playthoughs. I'm pretty sure these 2 animations are linked somehow. Link to comment Share on other sites More sharing options...
KiCHo666 Posted February 17, 2018 Author Share Posted February 17, 2018 You're right!They'll use whatever item they have in inventory that might heal them, even things like mentants.There got to be some condition that can fix it.Thanks! :) Link to comment Share on other sites More sharing options...
hexef Posted February 18, 2018 Share Posted February 18, 2018 Alright, that's cool. So you discovered that it has to do with ingestible items being in their inventory. A good workaround would be to store all of their ingestibles and quantity in an array and remove them from their inventory. Then you would add them back when they die or when you open up their container menu(1008) via pickpocketing or OpenTeammateContainer command, followed by removing them again when closing these menus. I'd suggest using the OnStartCombat event handler to remove their ingestibles, so you won't have to continuously scan the NPC inventories all the time. Link to comment Share on other sites More sharing options...
JimboUK Posted February 18, 2018 Share Posted February 18, 2018 Use INV on them before you attack and then again after they've played the animation, it'll be interesting to see exactly what they've used. Link to comment Share on other sites More sharing options...
KiCHo666 Posted February 18, 2018 Author Share Posted February 18, 2018 Yeah, I used "openteammatecontainer 1" command, took all ingestibles and they didn't do the animation. Then I added, for example, a dirty water and they consumed it while doing the animation.Managed to fix it with the help of Mindboggles. Now NPCs no longer do any animation when consuming stuff, but still do pick up animation when picking something up from intentories. :) Link to comment Share on other sites More sharing options...
Recommended Posts