Jump to content

How do you use SetActivateTextOverride or Activate Text Override on object with marker


DikaWolf

Recommended Posts

I'm trying to create a workshop object + idle marker. I have gotten a few things working on it but I can't seem to change the activation text which is currently "Enter" but I want to change it to "Use".

 

I've tried setting it in its property Activate Text Override, but that did nothing. I've also tried to set it via script with SetActivateTextOverride but that also did nothing.

 

I thought I set the script right, but it's still not working. Anyone know how to do this?

 

Scriptname MWO:mywobject extends ObjectReference
Message Property mywobjectactivatetext Auto Const
;---------------------------------------------------------------
Event OnWorkshopObjectPlaced(ObjectReference akReference)
 akReference.SetActivateTextOverride(mywobjectactivatetext)
EndEvent

 

Along with this I created a message object with the title "Use" which I used to set the scripts property. This appears to be what SetActivateTextOverride requires, but it still doesn't change the text.

Edited by DikaWolf
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...