RecalculateResources - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

If used on a Workshop activator (i.e. a workbench), forces the Workbench to re-calculate all resource actor values for all producers in the workshop.

Syntax[edit | edit source]

Function RecalculateResources() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Tell the Sanctuary workshop to recalculate its resource actor values.
SanctuaryWorkshopRef.RecalculateResources()

See Also[edit | edit source]