Background for Fallout 4
Member of the ObjectReference script
stringfunctionGetDisplayName()Native

Description

Wiki Description

Returns the current name of this ObjectReference.

Documentation Comment

Returns the display name of this reference


Caveats


Examples

string PlayerName = Game.GetPlayer().GetDisplayName()
Debug.MessageBox("The player's name is " + PlayerName)

Auto-Generated Example

string returnedValue = myObjectReference__toCallFunctionOn.GetDisplayName()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.