SetActivateTextOverride - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 00:06, 4 April 2021 by imported>Tania
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Function SetActivateTextOverride(Message akText) native

Parameters

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

Return Value

None.

Examples

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

Notes

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

See Also