OnPowerOn - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 13:28, 11 March 2013 by imported>Arthmoor
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

Event OnPowerOn(ObjectReference akPowerGenerator)

Parameters[edit | edit source]

Examples[edit | edit source]

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

See Also[edit | edit source]