WaitForWorkshopResourceRecalc - ObjectReference
Jump to navigation
Jump to search
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.
Syntax[edit | edit source]
Function WaitForWorkshopResourceRecalc() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Wait for resource recalculation to finish before doing work
RedRocketWorkshop.WaitForWorkshopResourceRecalc()
RedRocketWorkshop.DoReallyCoolStuff()