Background for Fallout 4
Member of the ObjectReference script
voidfunctionWaitForWorkshopResourceRecalc()Native

Description

Wiki Description

Waits for any resource recalculation on this workshop to finish. If no recalculation is in progress (or this reference isn't a workshop) it will return immediately.

Documentation Comment

Waits for workshop resource recalculation on this workshop to finish - returns immediately if this is not a workshop or
if no recalc is pending or in progress


Examples

; Wait for resource recalculation to finish before doing work
RedRocketWorkshop.WaitForWorkshopResourceRecalc()
RedRocketWorkshop.DoReallyCoolStuff()

Auto-Generated Example

myObjectReference__toCallFunctionOn.WaitForWorkshopResourceRecalc()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.