Jump to content

CK: How to force an NPC to stay in one position?


GrumpyTanky

Recommended Posts

Good day Gents,

 

 

I have created a Liar for my Vampire and I have a nice little human cow tucked away in a corner... I have her set to the Dark Brotherhood bound animation (on her knees with hands tired behind her) with a nice hood over her head.

 

I use her for training and feeding... Obviously...

 

The issue I'm having is forcing her to stay in one exact spot... I tried adding a ring of burden, but she can obviously still move, albeit at a slow pace... After I attack her, she stands and does nothing, but breaks the bound position. I can however leave the Lair wait for an hour in a different cell and come back to her back in the default position I assigned in the bound position.

 

I want her to go straight back to the original bound position and never leave a spot I force her to stay at... Question is:

Does anyone know how to force this, and how might I go about this as I am out of ideas after four days of trying every combo I can figure out via logic with the CK...

 

Cheers and thanks for any help or direction to posts that detail this!

Link to comment
Share on other sites

Apparently you need to prevent 2 things: 1) being pushed around 2) avoid the bound offset animation being interrupted

 

1) try using setvehicle(). Attached to an idlemarker or something.

 

2) there I need do explain a detail. The bound animation is a specific arms only animation, which is blended into a small number of other possible animations. These other animations is defined in the behaviors and cannot be extended. They include all walks and runs, turns, bump reactions and a few others. If the NPC wll react with an animation that's not in this set, this will immediately break the bound position. Apparently there are many situations where this can happen. Another one is the eat animation when she has something to eat in the inventory.

 

So most likely there is not one solution for avoiding everything. Depends on what you intend to do. One thing I know from Oblivion modding to avoid hit reaction is setghost(). Unfortunately the CK Wiki doesn't tell anything what it does in Skyrim.

Link to comment
Share on other sites

I dont know anything about animation, but to stop an NPC wandering around in CK make a custom package with a 'Sit on target' template then set an idlemarker or xmarker as the reference. That will keep the NPC in that one spot Edited by Noobo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...