OnPowerOn - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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

Syntax

Event OnPowerOn(ObjectReference akPowerGenerator)

Parameters

Examples

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

See Also