Jump to content

Assign companions to companions?


warspectre

Recommended Posts

This action is easy to do in the CS: NPCs that are preset to always follow certain other preset NPCs when the conditions are met. You would apply custom AI packages to the NPCs.

 

Setting up a system where you can assign any CM Partner to follow to any other CM Partner is a different story and would require a bit of trickiness and scripting skill. I imagine there is a way to do it.

 

You would have to set things up right to avoid CTDs. If you tell an NPC to follow another NPC, the game can crash when the first NPC is killed, unless conditions are set right to avoid the CTD. This type of problem is easier to deal with in the first scenario than in the second.

Link to comment
Share on other sites

You can do this with OBSE's SetPackageTarget.

 

Basically, you need to create a follow package for a specific reference. When you want a companion to follow someone, use SetPackageTarget to set the package's target to the new target.

 

There are many ways to do this, but the easiest would be having two spells. The first spell changes the target of the follow package. The second spell tells an NPC to use the follow package.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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