Jump to content

Creating custom companions?


polaris198

Recommended Posts

To make an NPC become a companion, in the topic dialog script section, add this into the Result Script (Begin) bit...

 

Set <NPCREF>.Waiting to 0

IgnoreCrime 1

<NPCREF>.AddPerk CompanionSuite (do not think this is neccesary)

Set <NPCREF>.IsFollowingDefault to 1

SetPlayerTeammate 1

SetIgnoreFriendlyHits 1

<NPCREF>.AddToFaction FollowerFaction 1

<NPCREF>.SetFactionRank TeammateFaction 1

ResetAI

 

Add the ID of your companion with REF at the end of it where I have <NPCREF> written (eg... MyCompanionREF), ONLY when you have already added that NPC into a cell.

 

I'm assuming you know about the short Waiting, short IsFollowingDefault bits you need in your NPC's scripts too, so I wont go into that unless you ask.

 

The "Companion Wheel" will automatically appear for all Team mates, so once you've added the dialog script, the wheel will appear.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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