WaitForWorkshopResourceRecalc - ObjectReference

From the Fallout4 CreationKit Wiki
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()

See Also[edit | edit source]