Is3DLoaded - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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

Syntax

bool Function Is3DLoaded() native

Parameters

None.

Return Value

If this object has its 3D currently loaded.

Examples

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

Notes

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