how to make an NPC stay still when being hit?

Post » Sun Nov 18, 2012 11:39 pm

I'm trying to make it so an NPC doesn't get knocked back when hit in combat. I've tried NPC.setmotiontype(NPC.Motion_Keyframed)
but it doesn't seem to work on actors?
User avatar
Monika Krzyzak
 
Posts: 3471
Joined: Fri Oct 13, 2006 11:29 pm

Post » Sun Nov 18, 2012 11:51 pm

You want to eliminate stagger or have the NPC stand still completely and do nothing?

If the former, I'd recommend creating a new perk (you can use Tower of Strength as a reference) that eliminates all stagger chance.

If the latter, I think you'll need to do something with AI packages, but I can't really help you there.
User avatar
Ilona Neumann
 
Posts: 3308
Joined: Sat Aug 19, 2006 3:30 am


Return to V - Skyrim