SetActivateTextOverride - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the full name of the given message to be this ref's activate text.

Syntax[edit | edit source]

Function SetActivateTextOverride(Message akText) native

Parameters[edit | edit source]

  • akText: The Message whose full name is used as the activate text override. If None, it will revert to the default.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Change the activate prompt for the actor
SuperMutantRef.SetActivateTextOverride(TicklePromptMessage)

Notes[edit | edit source]

  • It's currently unknown how to override the text for doors, containers and furniture as this function does nothing for them.

See Also[edit | edit source]