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

Description

Wiki Description

Preloads the target area for the calling ref. If the ref is a teleport door linked to an interior or exterior, the teleport location is the preloaded area. If a non-teleport ref is in an exterior, its location is used. The function will fail for other refs and if called to preload an exterior while the player is in an exterior.

Documentation Comment

Preload the target interior or exterior area for this reference


Caveats

CK Wiki - Notes

You can use the console command "MGO Cell" to see which cells are loaded by the command.


Examples

; Start loading up the area outside the door
ExitDoor.PreloadTargetArea()

Auto-Generated Example

myObjectReference__toCallFunctionOn.PreloadTargetArea()

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.