Jump to content

Script: Adding adding or changing name of an NPC


Recommended Posts

The traditional base game method is;

 

(1) Create a message with the new Name in the Title

 

(2) Create a quest ReferenceAlias to force fill with DisplayName = YourMessageName [ ] ClearNameWhenRemoved unchecked

 

(3a) In script YourRefrenceAlias.ForceRefTo(YourActor) then YourRefrenceAlias.Clear and the new name will stick

 

(3b) There is a little used apply alias data without forcing the ref into the alias used by WorkshopParent for new settlers that may be better than 3a YourRefrenceAlias.ApplyToRef(YourActor) although I don't know if it applies DisplayName.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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