Jump to content

FO4's equivalent of GetDisplayName()


Recommended Posts

Hi everyone,

 

Is there a Papyrus function in FO4 like GetDisplayName() back in Skyrim? It returns the display name of the actor/ object reference in question.

 

I have searched everywhere with no luck. It seems like such an essential function for Bethesda to not include ...

 

Many thanks in advance. I really appreciate your help.

Link to comment
Share on other sites

First things first - are you certain you need the name of a reference as a Papyrus string?

If you want to display the name of a form, you can use the existing Text Replacement system. The text replacement system operates in quest logs, notification messages and messageboxes, and will let you substitute in the names of forms in Aliases on their associated Quest.

 

If you are actually certain that you want the name of a reference as a Papyrus string, Rename Anything (F4SE plugin) adds two new Papyrus natives for modders - GetRefName() and SetRefName(). GetRefName() will return the display name of the specified ObjectReference.

Link to comment
Share on other sites

dogmeat uses quest aliases to get his name and set it (as well as the mutant in Farharbor you can buy dogs from), you might take a look at those and see how they pull the name, just a thought.

 

you can use aliases to change the name of a actor as well, both the above quests use aliases to change the dogs names.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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