OnWorkshopNPCTransfer - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Event OnWorkshopNPCTransfer(Location akNewWorkshop, Keyword akActionKW)

ParametersEdit

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

ExamplesEdit

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 AlsoEdit