OnWorkshopObjectRepaired - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Event received when a damaged workshop item is repaired. The event is sent to both the Workshop reference and the reference being repaired.
Syntax[edit | edit source]
Event OnWorkshopObjectRepaired(ObjectReference akReference)
Parameters[edit | edit source]
- akActionRef: If the script is on a Workshop reference, the ObjectReference that was just repaired. If the script is on the repairedreference, this is the Workshop reference.
Examples[edit | edit source]
Event OnWorkshopObjectRepaired(ObjectReference akReference)
Debug.Trace(akReference + " was just repaired!")
EndEvent