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

Description

Wiki Description

Warning: Do not use this function, as it may break questing, items, and other things in the area that rely on loading notifications to know when the player is "nearby". Also, because the cell stays loaded, you are putting undue strain on the user's computer to keep areas loaded that the player may never visit.

Preloads the single exterior cell containing the calling ref. The function will fail for a ref in an interior, but because it works on a single cell can be used to preload a cell outside the loaded area in a worldspace or an exterior cell in a different worldspace. Once the cell has been moved into the normal cell buffer, it is free to be unloaded. Nothing is done to preserve the preloaded state of a cell across save/load. It is the responsibility of the caller to make sure they preload the cell at an appropriate time.

Documentation Comment

Preload only the exterior cell containing this reference


Examples

; Start loading up the area where the vertibird will land
LandingAreaMarker.PreloadExteriorCell()

Auto-Generated Example

myObjectReference__toCallFunctionOn.PreloadExteriorCell()

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.