Background for Fallout 4
Member of the Actor script

Description

Wiki Description

Event sent to the player when he uses a workbench

Documentation Comment

Received when player uses a workbench


Parameters

  1. ObjectReferenceakWorkBench

    CK Wiki Description

    the workbench the player is using


Examples

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

Auto-Generated Example

Scriptname MyCoolScript extends Actor

event OnPlayerUseWorkBench(ObjectReference akWorkBench)
    Debug.trace("Event received - OnPlayerUseWorkBench: akWorkBench = " + akWorkBench)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.