Is3DLoaded - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object has its 3D currently loaded.

Syntax[edit | edit source]

bool Function Is3DLoaded() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object has its 3D currently loaded.

Examples[edit | edit source]

; Does the car have 3d?
if (Car.Is3DLoaded())
  ; We can animate it now, if we want
endIf

Notes[edit | edit source]

If you need to have the 3d of an object loaded before you progress, consider using WaitFor3DLoad instead, as it will not only be more efficient, but also will not be semi-permanently stuck if the object's 3d is not going to load anytime soon (i.e. a while loop using Is3DLoaded on a disabled object).

See Also[edit | edit source]