Background for Starfield
Member of the ObjectReference script
boolfunctionWaitFor3DLoad()Native

Description

Wiki Description

Waits for this object's 3d to load, or until it knows the 3d won't load (object is disabled, cell unloads, etc).

Documentation Comment

Waits for this object's 3d to load. Returns true if the 3D loaded, or false if it was disabled, the parent cell was unloaded
or something else is preventing it from loading its 3D


Caveats


Examples

; Wait for 3d to load on another object before continuing
if OtherThing.WaitFor3DLoad()
  ; 3d loaded, do something with it
else
  ; 3d didn't load, so fallback here
endIf

Auto-Generated Example

bool returnedValue = myObjectReference__toCallFunctionOn.WaitFor3DLoad()

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.