OnPlayerUseWorkBench - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Event sent to the player when he uses a workbench

Syntax[edit | edit source]

Event OnPlayerUseWorkBench(ObjectReference akWorkBench)

Parameters[edit | edit source]

  • akWorkBench: the workbench the player is using

Examples[edit | edit source]

; Event is sent to the player
Event OnPlayerUseWorkBench(ObjectReference akWorkBench)
  Debug.Trace(akWorkBench+ "work bench used by the player.")
endEvent

See Also[edit | edit source]