enderalse/source/scripts/defaultactivatedeletelinkedref.psc

12 lines
280 B
Plaintext

scriptName defaultActivateDeleteLinkedRef extends ObjectReference
{
- Deletes the linkedref when this object is activated.
}
ObjectReference myLinkedRef
Event OnActivate(ObjectReference triggerRef)
myLinkedRef = GetLinkedRef() as ObjectReference
myLinkedRef.Delete()
EndEvent