OnWorkshopNPCTransfer - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Event received when a workshop item is told to transfer to a new workshop.

Syntax[edit | edit source]

Event OnWorkshopNPCTransfer(Location akNewWorkshop, Keyword akActionKW)

Parameters[edit | edit source]

  • akNewWorkshop: The location of the new workshop
  • akActionKW: Keyword qualifying which action to take

Examples[edit | edit source]

Event OnWorkshopNPCTransfer(Location akNewWorkshop, Keyword akActionKW)
  Debug.Trace(self + " has been directed to transfer to the workshop at " + akNewWorkshop + " with the " \
    + akActionKW + " action")
EndEvent

See Also[edit | edit source]