enderalse/source/scripts/defaultonactivatedisablelinkedref.psc

7 lines
210 B
Plaintext

scriptName defaultOnActivateDisableLinkedRef extends ObjectReference
Keyword property LinkedRefKeyword Auto
EVENT onActivate(ObjectReference triggerRef)
Self.GetLinkedRef(LinkedRefKeyword).Disable()
EndEvent