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

Description

Wiki Description

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

Documentation Comment

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


Caveats

CK Wiki - Notes

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

Parameters

MessageakText

CK Wiki Description

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


Examples

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

Auto-Generated Example

Message myMessage__akText

myObjectReference__toCallFunctionOn.SetActivateTextOverride(myMessage__akText)

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.