WaitForWorkshopResourceRecalc - ObjectReference
Member of: ObjectReference Script
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.
SyntaxEdit
Function WaitForWorkshopResourceRecalc() native
ParametersEdit
None
Return ValueEdit
None
ExamplesEdit
; Wait for resource recalculation to finish before doing work
RedRocketWorkshop.WaitForWorkshopResourceRecalc()
RedRocketWorkshop.DoReallyCoolStuff()