OnPowerOn - ObjectReference
Revision as of 12:28, 11 March 2013 by imported>Arthmoor
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]
- akPowerGenerator: The ObjectReference generator which is supplying power.
Examples[edit | edit source]
Event OnPowerOn(ObjectReference akPowerGenerator)
Debug.Trace(akPowerGenerator+ " powers another item.")
EndEvent