SetLinkedRef - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the reference linked to this one under the specified keyword.

Syntax[edit | edit source]

Function SetLinkedRef(ObjectReference apRef, Keyword apKeyword = None) native

Parameters[edit | edit source]

  • akLinkedRef: Reference to link to.
  • apKeyword: Keyword to link under.
    • Default: None

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Set the linked ref for the actor
mineworker.SetLinkedRef( oremarker, WorkAtKeyword );

See Also[edit | edit source]