Difference between revisions of "SetActivateTextOverride - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Cobalt027
imported>Tania
 
Line 21: Line 21:
SuperMutantRef.SetActivateTextOverride(TicklePromptMessage)
SuperMutantRef.SetActivateTextOverride(TicklePromptMessage)
</source>
</source>
 
== Notes ==
* It's currently unknown how to override the text for doors, containers and furniture as this function does nothing for them.
== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]

Latest revision as of 00:06, 4 April 2021

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]