Mod:Creation Kit/OnPowerOn - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event received when a workshop item receives power for the first time.

Syntax
Event OnPowerOn(ObjectReference akPowerGenerator)

Parameters

 * akPowerGenerator: The ObjectReference generator which is supplying power.

Examples
Event OnPowerOn(ObjectReference akPowerGenerator) Debug.Trace(akPowerGenerator+ " powers another item.") EndEvent