OnPowerOn - ObjectReference
Member of: ObjectReference Script
Event received when a workshop item receives power for the first time.
SyntaxEdit
Event OnPowerOn(ObjectReference akPowerGenerator)
ParametersEdit
- akPowerGenerator: The ObjectReference generator which is supplying power.
ExamplesEdit
Event OnPowerOn(ObjectReference akPowerGenerator)
Debug.Trace(akPowerGenerator+ " powers another item.")
EndEvent