Difference between revisions of "SetLinkedRef - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Iceburg333
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Sets the reference linked to this one under the specified keyword. == Syntax == <source ...")
 
imported>Ice Eyes
m (Corrected the first parameter.)
 
Line 11: Line 11:


== Parameters ==
== Parameters ==
*apRef: Reference to link to.
*akLinkedRef: Reference to link to.
*apKeyword: Keyword to link under.
*apKeyword: Keyword to link under.
**'''Default''': None
**'''Default''': None

Latest revision as of 10:29, 9 June 2019

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]